Skip to content

Commit

Permalink
Merge pull request #40186 from nextcloud/backport/39017/stable27
Browse files Browse the repository at this point in the history
[stable27] fix(s3): fix handling verify_bucket_exists parameter
  • Loading branch information
blizzz authored Sep 5, 2023
2 parents 9ddb07c + fe618fe commit c7d6320
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/private/Files/ObjectStore/S3ConnectionTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ protected function parseParams($params) {
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;
}

Expand Down

0 comments on commit c7d6320

Please sign in to comment.