1
0
mirror of https://github.com/postfixadmin/postfixadmin.git synced 2025-08-09 05:02:44 +03:00

remove explode()

This commit is contained in:
David Goodwin
2018-02-21 19:47:57 +00:00
parent 2a1d8daeba
commit d57aa46eb5

View File

@@ -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();