mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-11-17 02:35:10 +00:00
Merge branch '1.0' into 2.0
This commit is contained in:
commit
604b94d011
@ -2090,7 +2090,9 @@ class SFTP extends SSH2
|
||||
$this->touch($remote_file, $stat['mtime'], $stat['atime']);
|
||||
}
|
||||
|
||||
fclose($fp);
|
||||
if (isset($fp) && is_resource($fp)) {
|
||||
fclose($fp);
|
||||
}
|
||||
}
|
||||
|
||||
return $this->_close_handle($handle);
|
||||
|
Loading…
Reference in New Issue
Block a user