Merge branch '2.0' into 3.0

This commit is contained in:
terrafrost 2022-05-06 14:26:30 -05:00
commit 571e16af38

View File

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