summaryrefslogtreecommitdiffstats
path: root/Auth/OpenID/SQLStore.php
diff options
context:
space:
mode:
authortailor <cygnus@janrain.com>2006-05-30 23:08:51 +0000
committertailor <cygnus@janrain.com>2006-05-30 23:08:51 +0000
commit57e7b7b67fa970eabcf217d5f394b2f193310c5e (patch)
treeb84f44541e39da05346d081b27039ecf6e00335a /Auth/OpenID/SQLStore.php
parenta69933b33a8a66a9841e97a8afd52cb02459b5dc (diff)
downloadphp-openid-57e7b7b67fa970eabcf217d5f394b2f193310c5e.zip
php-openid-57e7b7b67fa970eabcf217d5f394b2f193310c5e.tar.gz
php-openid-57e7b7b67fa970eabcf217d5f394b2f193310c5e.tar.bz2
[project @ Fixed return bug in SQLStore which caused infinite loop]
Diffstat (limited to 'Auth/OpenID/SQLStore.php')
-rw-r--r--Auth/OpenID/SQLStore.php5
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)