Skip to content

Commit

Permalink
Fixes #528 set default options to empty array
Browse files Browse the repository at this point in the history
  • Loading branch information
JohJohan committed Jul 2, 2024
1 parent 5f048ae commit 1e87f09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Configuration/ElFinderConfigurationReader.php
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ private function configureFlysystem($opt, $adapter, $serviceName)
];
}
$client = new S3Client($s3Options);
$filesystem = new Filesystem(new AwsS3v3($client, $opt['aws_s3_v3']['bucket_name'], $opt['aws_s3_v3']['optional_prefix'], null, null, $opt['aws_s3_v3']['options']));
$filesystem = new Filesystem(new AwsS3v3($client, $opt['aws_s3_v3']['bucket_name'], $opt['aws_s3_v3']['optional_prefix'], null, null, $opt['aws_s3_v3']['options'] ?? []));

break;
case 'copy_com':
Expand Down

0 comments on commit 1e87f09

Please sign in to comment.