Commit 8d634807 authored by Gábor Hojtsy's avatar Gábor Hojtsy

#575796 follow up by myself: OpenID XRI check was not PHP 4 compatible

parent 9197eae8
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment