From 4430f18ac5ca51ccd41269299665a0c9684a929a Mon Sep 17 00:00:00 2001 From: "marcos.alconada" Date: Tue, 2 Jul 2019 12:21:58 +0200 Subject: [PATCH] Resolved error query --- pandora_console/include/functions_events.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandora_console/include/functions_events.php b/pandora_console/include/functions_events.php index 5f83669b4b..927a82da40 100644 --- a/pandora_console/include/functions_events.php +++ b/pandora_console/include/functions_events.php @@ -4861,7 +4861,7 @@ function events_get_count_events_by_agent( COUNT(*) AS count FROM %s t3 WHERE utimestamp > %d AND utimestamp <= %d - AND id_grupo IN (%s) %s + AND id_grupo IN (%s) GROUP BY id_agente', $tagente, $tevento,