From fe7fd97b59fb9ae208eec8fe79129c54f8e57683 Mon Sep 17 00:00:00 2001 From: terrafrost Date: Fri, 11 Jul 2014 12:14:26 -0500 Subject: [PATCH] SFTP: fix an issue with the stat cache --- phpseclib/Net/SFTP.php | 1 + 1 file changed, 1 insertion(+) diff --git a/phpseclib/Net/SFTP.php b/phpseclib/Net/SFTP.php index 4e912098..aaa8d71b 100644 --- a/phpseclib/Net/SFTP.php +++ b/phpseclib/Net/SFTP.php @@ -1067,6 +1067,7 @@ class Net_SFTP extends Net_SSH2 } if ($dir == end($dirs)) { $temp[$dir] = $value; + break; } $temp = &$temp[$dir]; }