diff --git a/functions.inc.php b/functions.inc.php index bc2aa1a9..ad2f7bfb 100644 --- a/functions.inc.php +++ b/functions.inc.php @@ -1847,7 +1847,7 @@ function db_where_clause($condition, $struct, $additional_raw_where = '', $searc die('db_where_cond: parameter $struct is not an array!'); } - $allowed_operators = explode(' ', '< > >= <= = != <> CONT LIKE NULL NOTNULL'); + $allowed_operators = array('<', '>', '>=', '<=', '=', '!=', '<>', 'CONT', 'LIKE', 'NULL', 'NOTNULL'); $where_parts = array(); $having_parts = array();