diff options
Diffstat (limited to 'editusers.cgi')
-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'; |