From e545ca577a7eddf2ad7eeb85c2619f53da140fa5 Mon Sep 17 00:00:00 2001 From: "mkanat%bugzilla.org" Date: Fri, 30 Nov 2012 20:30:44 +0000 Subject: [PATCH] Bug 298461: editusers.cgi does not allow you to change only the letter-case of an email address r/a=LpSolit git-svn-id: svn://10.0.0.236/trunk@264506 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/webtools/bugzilla/.bzrrev | 2 +- mozilla/webtools/bugzilla/Bugzilla/User.pm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mozilla/webtools/bugzilla/.bzrrev b/mozilla/webtools/bugzilla/.bzrrev index 427df2243d7..fcbd2c237b3 100644 --- a/mozilla/webtools/bugzilla/.bzrrev +++ b/mozilla/webtools/bugzilla/.bzrrev @@ -1 +1 @@ -8497 \ No newline at end of file +8498 \ No newline at end of file diff --git a/mozilla/webtools/bugzilla/Bugzilla/User.pm b/mozilla/webtools/bugzilla/Bugzilla/User.pm index 417072e95c3..14860872245 100644 --- a/mozilla/webtools/bugzilla/Bugzilla/User.pm +++ b/mozilla/webtools/bugzilla/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)