mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-12-27 03:42:40 +00:00
Merge pull request #161 from jesseschalken/master
Fixed typo in object class name comparison * jesseschalken/master: Fixed typo in object class name comparison
This commit is contained in:
commit
ccfe02a44e
@ -169,7 +169,7 @@ class Net_SFTP_Stream {
|
||||
if ($host[0] == '$') {
|
||||
$host = substr($host, 1);
|
||||
global $$host;
|
||||
if (!is_object($$host) || get_class($$host) != 'Net_sFTP') {
|
||||
if (!is_object($$host) || get_class($$host) != 'Net_SFTP') {
|
||||
return false;
|
||||
}
|
||||
$this->sftp = $$host;
|
||||
|
Loading…
Reference in New Issue
Block a user