fix "Creating default object from empty value" error

This commit is contained in:
Kevin van Hulst 2023-01-04 09:49:50 +01:00
parent 446fa28e5e
commit 1fea288708
No known key found for this signature in database
GPG Key ID: 979BD45D6EEC521C

View File

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