Fixed typo in object class name comparison

This commit is contained in:
Jesse Schalken 2013-11-04 17:48:01 +11:00
parent c3197e98db
commit 71ae795460

View File

@ -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;