db_where_clause(): fix Exception message

... to mention the correct function name

(cherry picked from commit 047bf192fb)
This commit is contained in:
Christian Boltz committed 2026-10-04 23:01:56 +02:00
1 parent d3759ee6c8
commit ba705d1a12
1 file changed
+1 -1
+1 -1
View File
@@ -2082,7 +2082,7 @@ function db_in_clause($field, array $values)
function db_where_clause(array $condition, array $struct, $additional_raw_where = '', array $searchmode = array())
{
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');