mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-11-10 15:50:58 +00:00
SFTP: backport fix from master
This commit is contained in:
parent
247d23f40e
commit
86c0007078
@ -3026,7 +3026,7 @@ class SFTP extends SSH2
|
||||
$attr = [];
|
||||
list($attr[$key]) = Strings::unpackSSH2('Q', $response);
|
||||
if ($flags & NET_SFTP_ATTR_SUBSECOND_TIMES) {
|
||||
list($attr[key . '-nseconds']) = Strings::unpackSSH2('N', $response);
|
||||
list($attr[$key . '-nseconds']) = Strings::unpackSSH2('N', $response);
|
||||
}
|
||||
return $attr;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user