mirror of
https://github.com/danog/phpseclib.git
synced 2025-01-22 04:51:19 +01: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…
x
Reference in New Issue
Block a user