summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@arthur-schiwon.de>2023-09-05 19:13:02 +0200
committerGitHub <noreply@github.com>2023-09-05 19:13:02 +0200
commitc7d6320fbfb7b8ca0dde20bd9848aa02d482beeb (patch)
treeab338f8a08d9f7469e7d82cf1183172699da256f /lib
parent9ddb07ca1979e178b74184173edec9c6a7b7653e (diff)
parentfe618feeb094c4348153c449ec79d9d92027d953 (diff)
downloadnextcloud-server-c7d6320fbfb7b8ca0dde20bd9848aa02d482beeb.tar.gz
nextcloud-server-c7d6320fbfb7b8ca0dde20bd9848aa02d482beeb.zip
Merge pull request #40186 from nextcloud/backport/39017/stable27
[stable27] fix(s3): fix handling verify_bucket_exists parameter
Diffstat (limited to 'lib')
-rw-r--r--lib/private/Files/ObjectStore/S3ConnectionTrait.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Files/ObjectStore/S3ConnectionTrait.php b/lib/private/Files/ObjectStore/S3ConnectionTrait.php
index deb03571c76..49942b385bc 100644
--- a/lib/private/Files/ObjectStore/S3ConnectionTrait.php
+++ b/lib/private/Files/ObjectStore/S3ConnectionTrait.php
@@ -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;
}