Merge branch '1.0' into 2.0

This commit is contained in:
terrafrost 2022-05-06 14:26:24 -05:00
commit 10a011de1d

View File

@ -2709,7 +2709,7 @@ class SFTP extends SSH2
// normally $entries would have at least . and .. but it might not if the directories // normally $entries would have at least . and .. but it might not if the directories
// permissions didn't allow reading // permissions didn't allow reading
if (empty($entries)) { if (empty($entries)) {
return false; $entries = array();
} }
unset($entries['.'], $entries['..']); unset($entries['.'], $entries['..']);