File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -723,9 +723,13 @@ public function dir_readdir() {
723723 $ this ->objectIterator ->next ();
724724
725725 // Remove the prefix from the result to emulate other stream wrappers.
726- return $ this ->openedBucketPrefix
726+ $ retVal = $ this ->openedBucketPrefix
727727 ? substr ( $ result , strlen ( $ this ->openedBucketPrefix ) )
728728 : $ result ;
729+ if ( $ retVal === '' ) {
730+ $ retVal = false ;
731+ }
732+ return $ retVal ;
729733 }
730734
731735 private function formatKey ( string $ key ) : string {
Original file line number Diff line number Diff line change 44Plugin Name: S3 Uploads
55Description: Store uploads in S3
66Author: Human Made Limited
7- Version: 3.0.6
7+ Version: 3.0.8
88Author URI: https://hmn.md
99*/
1010
You can’t perform that action at this time.
0 commit comments