Fix universal filter for !=

This commit is contained in:
Laurent Destailleur
2023-03-13 10:22:40 +01:00
parent 2ef0f08c97
commit 04c6cb22a1
2 changed files with 2 additions and 2 deletions

View File

@@ -11685,7 +11685,7 @@ function dolForgeCriteriaCallback($matches)
return '';
}
$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';
}