FIx #20110
This commit is contained in:
parent
b989c257ad
commit
548cad0508
@ -348,6 +348,9 @@ class DolibarrApi
|
|||||||
$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') {
|
||||||
|
$operator = 'NOT LIKE';
|
||||||
|
}
|
||||||
|
|
||||||
$tmpescaped = trim($tmp[2]);
|
$tmpescaped = trim($tmp[2]);
|
||||||
$regbis = array();
|
$regbis = array();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user