This commit is contained in:
Laurent Destailleur 2026-04-23 14:38:38 +02:00
parent bc24954700
commit 13585fd2de

View file

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