Skip to content

Commit

Permalink
[BUGFIX] Fix create folders
Browse files Browse the repository at this point in the history
  • Loading branch information
Lagerregal committed Mar 4, 2021
1 parent d2ba2ce commit e109d8e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Classes/Driver/AmazonS3Driver.php
Original file line number Diff line number Diff line change
Expand Up @@ -1197,7 +1197,7 @@ protected function prefixExists(string $identifier): bool
return true;
}
$objects = $this->getListObjects($identifier, ['MaxKeys' => 1]);
return count($objects) > 0;
return is_array($objects['Contents']) ? count($objects['Contents']) > 0 : false;
}

/**
Expand Down
2 changes: 1 addition & 1 deletion Documentation/Settings.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[general]

project = Extension name
project = Amazon AWS S3 FAL driver (CDN)
copyright = 2021 different.technology
project_home = https://github.com/andersundsehr/aus_driver_amazon_s3
project_issues = https://github.com/andersundsehr/aus_driver_amazon_s3/issues
Expand Down

0 comments on commit e109d8e

Please sign in to comment.