mirror of
https://github.com/danog/phpseclib.git
synced 2024-12-03 18:18:05 +01:00
Merge branch '2.0' into 3.0
This commit is contained in:
commit
fc4a1b0083
@ -2006,7 +2006,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