diff options
author | tailor <will@willnorris.com> | 2007-08-03 02:29:21 +0000 |
---|---|---|
committer | tailor <will@willnorris.com> | 2007-08-03 02:29:21 +0000 |
commit | 290935d4bdf011ab4cace0ffe758ef8000d66b0b (patch) | |
tree | ebe07c248ba8cfab05666ee2be5b6a998c9f3f94 /Auth | |
parent | 3a278d6c217fa14db0e000e10d089078acc24784 (diff) | |
download | php-openid-290935d4bdf011ab4cace0ffe758ef8000d66b0b.zip php-openid-290935d4bdf011ab4cace0ffe758ef8000d66b0b.tar.gz php-openid-290935d4bdf011ab4cace0ffe758ef8000d66b0b.tar.bz2 |
[project @ prevent error 'call to member function of a non-object']
Diffstat (limited to 'Auth')
-rw-r--r-- | Auth/OpenID/Consumer.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Auth/OpenID/Consumer.php b/Auth/OpenID/Consumer.php index 4bc62cc..9ccbaaf 100644 --- a/Auth/OpenID/Consumer.php +++ b/Auth/OpenID/Consumer.php @@ -1295,7 +1295,7 @@ class Auth_OpenID_GenericConsumer { $resp = $this->fetcher->post($server_url, $body); if ($resp === null) { - return Auth_OpenID_ServerErrorContainer::fromMessage(''); + return null; } $response_message = Auth_OpenID_Message::fromKVForm($resp->body); |