mirror of
https://github.com/postfixadmin/postfixadmin.git
synced 2026-11-20 23:43:26 +03:00
db_where_clause(): fix Exception message
... to mention the correct function name
This commit is contained in:
1 file changed
+1
-1
+1
-1
@@ -2253,7 +2253,7 @@ function pagination_window(int $current, int $total_pages, int $radius = 5): arr
|
||||
function db_where_clause(array $condition, array $struct, $additional_raw_where = '', array $searchmode = array(), array &$params = [])
|
||||
{
|
||||
if (count($condition) == 0 && trim($additional_raw_where) == '') {
|
||||
throw new Exception("db_where_cond: parameter is an empty array!");
|
||||
throw new Exception("db_where_clause: parameter is an empty array!");
|
||||
}
|
||||
|
||||
$allowed_operators = array('<', '>', '>=', '<=', '=', '!=', '<>', 'CONT', 'LIKE', 'NULL', 'NOTNULL');
|
||||
|
||||
Reference in new issue
Block a user