1
0
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:
terrafrost 2018-01-01 13:09:18 -06:00
commit 59faa1d253

View File

@ -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;
}