Merge pull request #57346 from nextcloud/backport/57186/stable32

This commit is contained in:
Benjamin Gaussorgues 2026-01-08 11:02:41 +01:00 committed by GitHub
commit b3347f1821
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -35,7 +35,7 @@ trait S3ConnectionTrait {
throw new \Exception('Bucket has to be configured.');
}
if (isset($params['multibucket']) && $params['multibucket'] === true && isset($params['perBucket'][$params['bucket']])) {
if (isset($params['perBucket'][$params['bucket']])) {
$params = array_merge($params, $params['perBucket'][$params['bucket']]);
}