mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-12-30 20:59:14 +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
|
||||
// permissions didn't allow reading
|
||||
if (empty($entries)) {
|
||||
return false;
|
||||
$entries = [];
|
||||
}
|
||||
|
||||
unset($entries['.'], $entries['..']);
|
||||
|
Loading…
Reference in New Issue
Block a user