in xf2 buildCondition function i can't use REGEXP.
Hopefully it will be updated in the next release.
Hopefully it will be updated in the next release.
PHP:
switch ($operator)
{
case '=':
case '<>':
case '!=':
case '>':
case '>=':
case '<':
case '<=':
case 'LIKE':
case 'NOT LIKE':
case 'BETWEEN':
break;
default:
throw new \InvalidArgumentException("Operator $operator is not valid");
}
Upvote
0