summaryrefslogtreecommitdiffstats
path: root/Auth
diff options
context:
space:
mode:
authortailor <cygnus@janrain.com>2006-12-01 20:05:21 +0000
committertailor <cygnus@janrain.com>2006-12-01 20:05:21 +0000
commitd840af3155774de712cdd259618aefe2904cb0d4 (patch)
treea29dac864a92862dcd84ff56a6d86c1c3828d25a /Auth
parentc8d84555e2f758d686d79c5f2f33ab6ad3f0e3a0 (diff)
downloadphp-openid-d840af3155774de712cdd259618aefe2904cb0d4.zip
php-openid-d840af3155774de712cdd259618aefe2904cb0d4.tar.gz
php-openid-d840af3155774de712cdd259618aefe2904cb0d4.tar.bz2
[project @ Fix bug in FileStore which prevented associations from being generated]
Diffstat (limited to 'Auth')
-rw-r--r--Auth/OpenID/FileStore.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Auth/OpenID/FileStore.php b/Auth/OpenID/FileStore.php
index 0cc682d..6ce8856 100644
--- a/Auth/OpenID/FileStore.php
+++ b/Auth/OpenID/FileStore.php
@@ -328,7 +328,7 @@ class Auth_OpenID_FileStore extends Auth_OpenID_OpenIDStore {
// strip off the path to do the comparison
$name = basename($filename);
foreach ($association_files as $association_file) {
- if (strpos($association_file, $name) == 0) {
+ if (strpos($association_file, $name) === 0) {
$matching_files[] = $association_file;
}
}