mirror of
https://github.com/nextcloud/server.git
synced 2026-05-14 09:29:52 -04:00
Merge pull request #40186 from nextcloud/backport/39017/stable27
[stable27] fix(s3): fix handling verify_bucket_exists parameter
This commit is contained in:
commit
c7d6320fbf
1 changed files with 1 additions and 1 deletions
|
|
@ -92,7 +92,7 @@ trait S3ConnectionTrait {
|
|||
if (!isset($params['port']) || $params['port'] === '') {
|
||||
$params['port'] = (isset($params['use_ssl']) && $params['use_ssl'] === false) ? 80 : 443;
|
||||
}
|
||||
$params['verify_bucket_exists'] = empty($params['verify_bucket_exists']) ? true : $params['verify_bucket_exists'];
|
||||
$params['verify_bucket_exists'] = $params['verify_bucket_exists'] ?? true;
|
||||
$this->params = $params;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue