SFTP: fix an issue with the stat cache

This commit is contained in:
terrafrost 2014-07-11 12:14:26 -05:00
parent 8b8c62f278
commit fe7fd97b59

View File

@ -1067,6 +1067,7 @@ class Net_SFTP extends Net_SSH2
} }
if ($dir == end($dirs)) { if ($dir == end($dirs)) {
$temp[$dir] = $value; $temp[$dir] = $value;
break;
} }
$temp = &$temp[$dir]; $temp = &$temp[$dir];
} }