Skip to content

Commit

Permalink
Merge pull request #39017 from nextcloud/fix/s3/verify_bucket_exists
Browse files Browse the repository at this point in the history
fix(s3): fix handling verify_bucket_exists parameter
  • Loading branch information
tcitworld authored Aug 31, 2023
2 parents a3d37c5 + 3f28fc5 commit 065e1e8
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 065e1e8

Please sign in to comment.