mlanthaler: August 3, 2007 - will@willnorris.com: prevent error 'call to member function of a non-object'

(merged from branches/gsoc)


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@42028 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Ingo Schommer 2007-09-16 01:57:49 +00:00
parent 86f59268c8
commit 390d71785f

View File

@ -1298,7 +1298,7 @@ class Auth_OpenID_GenericConsumer {
$resp = $this->fetcher->post($server_url, $body); $resp = $this->fetcher->post($server_url, $body);
if ($resp === null) { if ($resp === null) {
return Auth_OpenID_ServerErrorContainer::fromMessage(''); return null;
} }
$response_message = Auth_OpenID_Message::fromKVForm($resp->body); $response_message = Auth_OpenID_Message::fromKVForm($resp->body);