From 13585fd2deae5ab462be8c242cfc3103f85a4be5 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Thu, 23 Apr 2026 14:38:38 +0200 Subject: [PATCH] Typo --- htdocs/core/customreports.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/core/customreports.php b/htdocs/core/customreports.php index 5ef6a9cb9fc..b71e43bc676 100644 --- a/htdocs/core/customreports.php +++ b/htdocs/core/customreports.php @@ -484,7 +484,7 @@ if (count($search_groupby)) { $fieldtocount = $gvalsanitized; } - $sql = "SELECT DISTINCT ".$fieldtocount." as val"; // $fieldtocount has been sanitized by previous lines as we can't use db->sanitie() + $sql = "SELECT DISTINCT ".$fieldtocount." as val"; // $fieldtocount has been sanitized by previous lines as we can't use db->sanitize() if (strpos($fieldtocount, 'te') === 0) { $tabletouse = $object->table_element;