From a25d4ed166df06b2d7dde269d16de17f997d7ae1 Mon Sep 17 00:00:00 2001 From: fermin831 Date: Wed, 12 Sep 2018 17:27:09 +0200 Subject: [PATCH] Fixed alerts_get_alerts function --- pandora_console/include/functions_alerts.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pandora_console/include/functions_alerts.php b/pandora_console/include/functions_alerts.php index a089f8394f..322b3a7602 100644 --- a/pandora_console/include/functions_alerts.php +++ b/pandora_console/include/functions_alerts.php @@ -106,6 +106,8 @@ function alerts_get_alerts($id_group = 0, $free_search = "", $status = "all", $s ON t0.id_agent_module = t2.id_agente_modulo INNER JOIN tagente t3 ON t2.id_agente = t3.id_agente + LEFT JOIN tagent_secondary_group tasg + ON tasg.id_agent = t3.id_agente WHERE 1=1 ' . $status_query . ' ' . $standby_query . ' ' . $group_query . ' AND (t1.name LIKE "%' . $free_search . '%"