summaryrefslogtreecommitdiffstats
path: root/editusers.cgi
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2005-11-04 19:04:47 +0100
committerlpsolit%gmail.com <>2005-11-04 19:04:47 +0100
commitd635f6f5f598d997c81f857722a32543e56353a4 (patch)
treed5bf9e62cb2ea2e9f4295c6e3056ff8e5f6bbb4f /editusers.cgi
parentdb3cbc0ba0da10fb854277a01b4422ae10ef1bca (diff)
downloadbugzilla-d635f6f5f598d997c81f857722a32543e56353a4.tar.gz
bugzilla-d635f6f5f598d997c81f857722a32543e56353a4.tar.xz
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
Diffstat (limited to 'editusers.cgi')
-rwxr-xr-xeditusers.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/editusers.cgi b/editusers.cgi
index 5f577f061..c17e0c286 100755
--- a/editusers.cgi
+++ b/editusers.cgi
@@ -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';