Commit d635f6f5 authored by lpsolit%gmail.com's avatar lpsolit%gmail.com

Bug 301067: [PostgreSQL] editusers.cgi doesn't do a case-insensitive comparison…

Bug 301067: [PostgreSQL] editusers.cgi doesn't do a case-insensitive comparison - Patch by Frédéric Buclin <LpSolit@gmail.com> r=mkanat a=justdave
parent db3cbc0b
......@@ -122,7 +122,7 @@ if ($action eq 'search') {
$query .= $expr . ' = ?';
$matchstr = '.' unless $matchstr;
} else { # substr or unknown
$query .= $expr . ' like ?';
$query .= $dbh->sql_istrcmp($expr, '?', 'LIKE');
$matchstr = "%$matchstr%";
}
$nextCondition = 'AND';
......
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