Merge pull request #24181 from noec764/patch-2
Correct dolForgeCriteriaCallback
This commit is contained in:
commit
0c7d7b56cf
@ -10757,7 +10757,7 @@ function dolForgeCriteriaCallback($matches)
|
|||||||
|
|
||||||
$operand = preg_replace('/[^a-z0-9\._]/i', '', trim($tmp[0]));
|
$operand = preg_replace('/[^a-z0-9\._]/i', '', trim($tmp[0]));
|
||||||
|
|
||||||
$operator = strtoupper(preg_replace('/[^a-z<>=]/i', '', trim($tmp[1])));
|
$operator = strtoupper(preg_replace('/[^a-z<>!=]/i', '', trim($tmp[1])));
|
||||||
if ($operator == 'NOTLIKE') {
|
if ($operator == 'NOTLIKE') {
|
||||||
$operator = 'NOT LIKE';
|
$operator = 'NOT LIKE';
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user