From 09b06e0d676764c60af92a29cfb86e892df0aeb9 Mon Sep 17 00:00:00 2001 From: Hugo Date: Fri, 30 Nov 2012 21:27:16 +0100 Subject: [PATCH] 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 605eb3cd06..d2cf55dd96 100644 --- a/Bugzilla/User.pm +++ b/Bugzilla/User.pm @@ -208,7 +208,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) -- 2.47.2