From: Hugo Date: Fri, 30 Nov 2012 20:25:04 +0000 (+0100) Subject: Bug 298461: editusers.cgi does not allow you to change only the letter-case of an... X-Git-Tag: bugzilla-4.5.1~285 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=45f67203b182d6a64b9708a22d82a21e455deb74;p=thirdparty%2Fbugzilla.git Bug 298461: editusers.cgi does not allow you to change only the letter-case of an email address r/a=LpSolit --- diff --git a/Bugzilla/User.pm b/Bugzilla/User.pm index 417072e95c..1486087224 100644 --- a/Bugzilla/User.pm +++ b/Bugzilla/User.pm @@ -203,7 +203,7 @@ sub check_login_name { check_email_syntax($name); # Check the name if it's a new user, or if we're changing the name. - if (!ref($invocant) || $invocant->login ne $name) { + if (!ref($invocant) || lc($invocant->login) ne lc($name)) { my @params = ($name); push(@params, $invocant->login) if ref($invocant); is_available_username(@params)