From 75543f91491c78152297052e31e019b7cab9b10b Mon Sep 17 00:00:00 2001 From: zarzuelo Date: Mon, 27 Jan 2014 11:02:15 +0000 Subject: [PATCH] 2014-01-27 Sergio Martin * include/functions_alerts.php: Fixed the group of the event generated when validate an alert manually git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9375 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 5 +++++ pandora_console/include/functions_alerts.php | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index d4d7380f5f..4a93159cd2 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,8 @@ +2014-01-27 Sergio Martin + + * include/functions_alerts.php: Fixed the group of the + event generated when validate an alert manually + 2014-01-24 Sergio Martin * include/functions_alerts.php: Fix forgotten cases on diff --git a/pandora_console/include/functions_alerts.php b/pandora_console/include/functions_alerts.php index 8f58075f8c..97b4dc0145 100644 --- a/pandora_console/include/functions_alerts.php +++ b/pandora_console/include/functions_alerts.php @@ -1250,7 +1250,7 @@ function alerts_validate_alert_agent_module ($id_alert_agent_module, $noACLs = f foreach ($alerts as $id) { $alert = alerts_get_alert_agent_module ($id); $agent_id = modules_get_agentmodule_agent ($alert["id_agent_module"]); - $group_id = agents_get_agentmodule_group ($agent_id); + $group_id = agents_get_agent_group ($agent_id); $critical_instructions = db_get_value('critical_instructions', 'tagente_modulo', 'id_agente_modulo', $agent_id); $warning_instructions = db_get_value('warning_instructions', 'tagente_modulo', 'id_agente_modulo', $agent_id); $unknown_instructions = db_get_value('unknown_instructions', 'tagente_modulo', 'id_agente_modulo', $agent_id);