mirror of
https://github.com/danog/tgseclib.git
synced 2024-11-30 04:39:02 +01:00
Merge branch '2.0'
This commit is contained in:
commit
59faa1d253
@ -1158,7 +1158,7 @@ class SFTP extends SSH2
|
||||
$temp[$dir] = [];
|
||||
}
|
||||
if ($i === $max) {
|
||||
if (is_object($temp[$dir])) {
|
||||
if (is_object($temp[$dir]) && is_object($value)) {
|
||||
if (!isset($value->stat) && isset($temp[$dir]->stat)) {
|
||||
$value->stat = $temp[$dir]->stat;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user