Merge branch '3.0'

This commit is contained in:
terrafrost 2020-08-30 08:22:26 -05:00
commit 14d546c002

View File

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