summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGábor Hojtsy2009-12-16 17:54:55 +0000
committerGábor Hojtsy2009-12-16 17:54:55 +0000
commit8d634807273bd12c77a8d7923a861a6dcec39456 (patch)
treeb0d1fcd4e44fdebca3356825d3a94998d901ea85
parent9197eae87381d4d2552b3df366c1579f6cbc6390 (diff)
#575796 follow up by myself: OpenID XRI check was not PHP 4 compatible
-rw-r--r--modules/openid/openid.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/openid/openid.inc b/modules/openid/openid.inc
index 3671755..0e9cfb3 100644
--- a/modules/openid/openid.inc
+++ b/modules/openid/openid.inc
@@ -75,7 +75,7 @@ function openid_redirect_form(&$form_state, $url, $message) {
*/
function _openid_is_xri($identifier) {
// Strip the xri:// scheme from the identifier if present.
- if (stripos($identifier, 'xri://') !== FALSE) {
+ if (strpos(strtolower($identifier), 'xri://') !== FALSE) {
$identifier = substr($identifier, 6);
}