Merge branch '1.0' into 2.0

This commit is contained in:
terrafrost 2020-11-26 21:09:17 -06:00
commit 1ec3efa04b

View File

@ -2217,7 +2217,7 @@ class SFTP extends SSH2
$res_offset = $stat['size'];
} else {
$res_offset = 0;
if ($local_file !== false && !is_callable($local_file) ) {
if ($local_file !== false && !is_callable($local_file)) {
$fp = fopen($local_file, 'wb');
if (!$fp) {
return false;