This commit was manufactured by cvs2svn to create tag 'freeside_2_1_1'.
[freeside.git] / httemplate / search / svc_acct.cgi
index c3ddd66..1407d9e 100755 (executable)
@@ -262,13 +262,13 @@ if ( $cgi->param('magic') =~ /^(all|unlinked)$/ ) {
   }
 
   $cgi->param('username') =~ /^([\w\-\.\&]+)$/; #untaint username_text
-  my $username = lc($1);
+  my $username = $1;
 
-  push @username_sql, "LOWER(username) LIKE '$username'"
+  push @username_sql, "username ILIKE '$username'"
     if $username_type{'Exact'}
     || $username_type{'Fuzzy'};
 
-  push @username_sql, "LOWER(username) LIKE '\%$username\%'"
+  push @username_sql, "username ILIKE '\%$username\%'"
     if $username_type{'Substring'}
     || $username_type{'All'};