Merge branch 'jude' into 1.0

This commit is contained in:
terrafrost 2017-12-18 00:06:51 -06:00
commit 354666c36d

View File

@ -197,7 +197,7 @@ class Net_SFTP_Stream
if ($host[0] == '$') {
$host = substr($host, 1);
global $$host;
global ${$host};
if (!is_object($$host) || get_class($$host) != 'Net_SFTP') {
return false;
}