]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 313023: Param("confirmuniqueusermatch") should not be case sensitive - Patch...
authorlpsolit%gmail.com <>
Tue, 30 May 2006 00:43:40 +0000 (00:43 +0000)
committerlpsolit%gmail.com <>
Tue, 30 May 2006 00:43:40 +0000 (00:43 +0000)
Bugzilla/User.pm

index 93316bdb27d88130dec57bb4f3622796c55d1da0..5da3db3ef44059f06aa70ba0304f072036505298 100644 (file)
@@ -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'}]);