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:
Andreas Fischer 2013-11-04 09:24:50 +01:00
commit ccfe02a44e

View File

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