Correct dolForgeCriteriaCallback

This commit is contained in:
noec764
2023-03-10 15:48:26 +01:00
committed by GitHub
parent 89810f97c1
commit 353d451e5a

View File

@@ -10757,7 +10757,7 @@ function dolForgeCriteriaCallback($matches)
$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') {
$operator = 'NOT LIKE';
}