mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 03:32:00 +09:00
#18680020 : if association does not exists, it should return null (not association object)
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7284 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
ba88ecc443
commit
8c0d04d8b9
1 changed files with 1 additions and 0 deletions
|
|
@ -149,6 +149,7 @@ class Auth_OpenID_XEStore extends Auth_OpenID_OpenIDStore {
|
|||
function getAssociation($server_url, $handle = null)
|
||||
{
|
||||
$assoc = $this->_get_assoc($server_url, $handle);
|
||||
if(!$assoc) return null;
|
||||
$assoc_o = new Auth_OpenID_Association($assoc->handle, $assoc->secret, $assoc->issued, $assoc->lifetime, $assoc->assoc_type);
|
||||
return $assoc_o;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue