mirror of
https://github.com/danog/tgseclib.git
synced 2024-11-27 04:34:45 +01: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