Merge branch '1.0' into 2.0

This commit is contained in:
terrafrost 2020-08-30 08:22:13 -05:00
commit 604b94d011

View File

@ -2090,8 +2090,10 @@ class SFTP extends SSH2
$this->touch($remote_file, $stat['mtime'], $stat['atime']); $this->touch($remote_file, $stat['mtime'], $stat['atime']);
} }
if (isset($fp) && is_resource($fp)) {
fclose($fp); fclose($fp);
} }
}
return $this->_close_handle($handle); return $this->_close_handle($handle);
} }