FIX delete criteria
This commit is contained in:
parent
e086d5a5f2
commit
e17d3b029e
@ -9158,10 +9158,6 @@ function natural_search($fields, $value, $mode = 0, $nofirstand = 0)
|
|||||||
}
|
}
|
||||||
else $newres .= $field." LIKE '";
|
else $newres .= $field." LIKE '";
|
||||||
|
|
||||||
$tmpcrit = trim($tmpcrit);
|
|
||||||
$tmpcrit2 = $tmpcrit;
|
|
||||||
$tmpbefore = '%';
|
|
||||||
$tmpafter = '%';
|
|
||||||
if (preg_match('/^[\^\$]/', $tmpcrit)) {
|
if (preg_match('/^[\^\$]/', $tmpcrit)) {
|
||||||
$tmpbefore = '';
|
$tmpbefore = '';
|
||||||
$tmpcrit2 = preg_replace('/^[\^\$]/', '', $tmpcrit2);
|
$tmpcrit2 = preg_replace('/^[\^\$]/', '', $tmpcrit2);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user