Commit c65d57450d562d61c16ea16496b5f1bd3844bd1c
1 parent
eec4f9a6
Merged in...
KTS-3823 "Single character search not being processed on database" Fixed. Committed By: Conrad Vermeulen Reviewed By: Megan Watson git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/STABLE/branches/3.5.4-Release-Branch@9566 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
1 additions
and
1 deletions
search2/search/expr.inc.php
| ... | ... | @@ -630,7 +630,7 @@ class ValueExpr extends Expr |
| 630 | 630 | $val = $this->getValue(); |
| 631 | 631 | if (strpos($val, '*') !== false || strpos($val, '?') !== false) |
| 632 | 632 | { |
| 633 | - $val = str_replace(array('?','*'), array('%','%'), $val); | |
| 633 | + $val = str_replace(array('?','*'), array('_','%'), $val); | |
| 634 | 634 | } |
| 635 | 635 | |
| 636 | 636 | switch($op) | ... | ... |