mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
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:
parent
86f59268c8
commit
390d71785f
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user