diff options
-rw-r--r-- | Auth/Yadis/Yadis.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Auth/Yadis/Yadis.php b/Auth/Yadis/Yadis.php index 514703c..4e03d11 100644 --- a/Auth/Yadis/Yadis.php +++ b/Auth/Yadis/Yadis.php @@ -318,7 +318,7 @@ class Auth_Yadis_Yadis { $response = $fetcher->get($yadis_location); - if ($response->status != 200) { + if ((!$response) || ($response->status != 200)) { $result->fail(); return $result; } |