mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-11-11 08:10:58 +00:00
Merge branch '1.0' into 2.0
This commit is contained in:
commit
10a011de1d
@ -2709,7 +2709,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['..']);
|
||||
|
Loading…
Reference in New Issue
Block a user