From 047bf192fba116c7bee04616684809e855c4bf83 Mon Sep 17 00:00:00 2001 From: Christian Boltz Date: Sun, 4 Oct 2026 18:20:08 +0200 Subject: [PATCH] db_where_clause(): fix Exception message ... to mention the correct function name --- functions.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions.inc.php b/functions.inc.php index 602e740a..9299ce38 100644 --- a/functions.inc.php +++ b/functions.inc.php @@ -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');