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