Commit 853c40ff authored by lpsolit%gmail.com's avatar lpsolit%gmail.com

Bug 313023: Param("confirmuniqueusermatch") should not be case sensitive - Patch…

Bug 313023: Param("confirmuniqueusermatch") should not be case sensitive - Patch by Greg Hendricks <ghendricks@novell.com> r=LpSolit a=myk
parent d8f36cac
...@@ -991,7 +991,7 @@ sub match_field { ...@@ -991,7 +991,7 @@ sub match_field {
# skip confirmation for exact matches # skip confirmation for exact matches
if ((scalar(@{$users}) == 1) if ((scalar(@{$users}) == 1)
&& (@{$users}[0]->{'login'} eq $query)) && (lc(@{$users}[0]->{'login'}) eq lc($query)))
{ {
$cgi->append(-name=>$field, $cgi->append(-name=>$field,
-values=>[@{$users}[0]->{'login'}]); -values=>[@{$users}[0]->{'login'}]);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment