From 45f67203b182d6a64b9708a22d82a21e455deb74 Mon Sep 17 00:00:00 2001 From: Hugo Date: Fri, 30 Nov 2012 21:25:04 +0100 Subject: Bug 298461: editusers.cgi does not allow you to change only the letter-case of an email address r/a=LpSolit --- Bugzilla/User.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Bugzilla/User.pm b/Bugzilla/User.pm index 417072e95..148608722 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) -- cgit v1.2.3-24-g4f1b