summaryrefslogtreecommitdiffstats
path: root/Bugzilla
diff options
context:
space:
mode:
Diffstat (limited to 'Bugzilla')
-rw-r--r--Bugzilla/User.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/User.pm b/Bugzilla/User.pm
index 93316bdb2..5da3db3ef 100644
--- a/Bugzilla/User.pm
+++ b/Bugzilla/User.pm
@@ -991,7 +991,7 @@ sub match_field {
# skip confirmation for exact matches
if ((scalar(@{$users}) == 1)
- && (@{$users}[0]->{'login'} eq $query))
+ && (lc(@{$users}[0]->{'login'}) eq lc($query)))
{
$cgi->append(-name=>$field,
-values=>[@{$users}[0]->{'login'}]);