1
0
mirror of https://github.com/danog/phpseclib.git synced 2024-12-11 16:49:42 +01:00

fix "Creating default object from empty value" error

This commit is contained in:
Kevin van Hulst 2023-01-04 09:49:50 +01:00 committed by terrafrost
parent f81d9ea09a
commit 3ad3693d31

View File

@ -715,7 +715,7 @@ class SFTP extends SSH2
if (!$this->canonicalize_paths) { if (!$this->canonicalize_paths) {
throw $e; throw $e;
} }
$this->$this->canonicalize_paths = false; $this->canonicalize_paths = false;
$this->reset_connection(NET_SSH2_DISCONNECT_CONNECTION_LOST); $this->reset_connection(NET_SSH2_DISCONNECT_CONNECTION_LOST);
} }