diff options
Diffstat (limited to 'Auth/OpenID/SQLStore.php')
-rw-r--r-- | Auth/OpenID/SQLStore.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Auth/OpenID/SQLStore.php b/Auth/OpenID/SQLStore.php index f685136..1cd6c68 100644 --- a/Auth/OpenID/SQLStore.php +++ b/Auth/OpenID/SQLStore.php @@ -485,7 +485,7 @@ class Auth_OpenID_SQLStore extends Auth_OpenID_OpenIDStore { $assocs = $this->_get_assocs($server_url); } - if (count($assocs) == 0) { + if (!$assocs || (count($assocs) == 0)) { return null; } else { $associations = array(); |