diff options
author | lpsolit%gmail.com <> | 2005-11-04 19:04:47 +0100 |
---|---|---|
committer | lpsolit%gmail.com <> | 2005-11-04 19:04:47 +0100 |
commit | d635f6f5f598d997c81f857722a32543e56353a4 (patch) | |
tree | d5bf9e62cb2ea2e9f4295c6e3056ff8e5f6bbb4f | |
parent | db3cbc0ba0da10fb854277a01b4422ae10ef1bca (diff) | |
download | bugzilla-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
-rwxr-xr-x | editusers.cgi | 2 |
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'; |