diff options
author | tailor <cygnus@janrain.com> | 2006-05-30 23:08:51 +0000 |
---|---|---|
committer | tailor <cygnus@janrain.com> | 2006-05-30 23:08:51 +0000 |
commit | 57e7b7b67fa970eabcf217d5f394b2f193310c5e (patch) | |
tree | b84f44541e39da05346d081b27039ecf6e00335a | |
parent | a69933b33a8a66a9841e97a8afd52cb02459b5dc (diff) | |
download | php-openid-57e7b7b67fa970eabcf217d5f394b2f193310c5e.zip php-openid-57e7b7b67fa970eabcf217d5f394b2f193310c5e.tar.gz php-openid-57e7b7b67fa970eabcf217d5f394b2f193310c5e.tar.bz2 |
[project @ Fixed return bug in SQLStore which caused infinite loop]
-rw-r--r-- | Auth/OpenID/SQLStore.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Auth/OpenID/SQLStore.php b/Auth/OpenID/SQLStore.php index a9f5b82..45a1c16 100644 --- a/Auth/OpenID/SQLStore.php +++ b/Auth/OpenID/SQLStore.php @@ -445,8 +445,9 @@ class Auth_OpenID_SQLStore extends Auth_OpenID_OpenIDStore { */ function _get_assocs($server_url) { - return $this->connection->getAll($this->sql['get_assocs'], - array($server_url)); + return $this->isError( + $this->connection->getAll($this->sql['get_assocs'], + array($server_url))); } function removeAssociation($server_url, $handle) |