Skip to content

Commit

Permalink
Merge pull request #530 from JohJohan/528
Browse files Browse the repository at this point in the history
Fixes #528 set default options to empty array
  • Loading branch information
helios-ag authored Jul 26, 2024
2 parents 5f048ae + 1e87f09 commit 252efec
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 252efec

Please sign in to comment.