mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-11-14 01:14:08 +00:00
Merge branch '1.0' into 2.0
This commit is contained in:
commit
076c69fa1b
@ -750,7 +750,7 @@ class SFTP extends SSH2
|
||||
{
|
||||
$files = $this->_list($dir, false);
|
||||
|
||||
if (!$recursive) {
|
||||
if (!$recursive || $files === false) {
|
||||
return $files;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user