From: Hugo Date: Fri, 30 Nov 2012 20:27:16 +0000 (+0100) Subject: Bug 298461: editusers.cgi does not allow you to change only the letter-case of an... X-Git-Tag: bugzilla-4.4rc2~50 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=09b06e0d676764c60af92a29cfb86e892df0aeb9;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 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)