mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-12-28 12:10:59 +00:00
Fixed typo in object class name comparison
This commit is contained in:
parent
c3197e98db
commit
71ae795460
@ -169,7 +169,7 @@ class Net_SFTP_Stream {
|
|||||||
if ($host[0] == '$') {
|
if ($host[0] == '$') {
|
||||||
$host = substr($host, 1);
|
$host = substr($host, 1);
|
||||||
global $$host;
|
global $$host;
|
||||||
if (!is_object($$host) || get_class($$host) != 'Net_sFTP') {
|
if (!is_object($$host) || get_class($$host) != 'Net_SFTP') {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
$this->sftp = $$host;
|
$this->sftp = $$host;
|
||||||
|
Loading…
Reference in New Issue
Block a user