mirror of
https://github.com/phpseclib/phpseclib.git
synced 2025-01-02 13:52:02 +00:00
Merge branch '3.0'
This commit is contained in:
commit
51f863f289
@ -2349,7 +2349,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 = [];
|
||||||
}
|
}
|
||||||
|
|
||||||
unset($entries['.'], $entries['..']);
|
unset($entries['.'], $entries['..']);
|
||||||
|
Loading…
Reference in New Issue
Block a user