2014-01-27 Sergio Martin <sergio.martin@artica.es>

* 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
This commit is contained in:
zarzuelo 2014-01-27 11:02:15 +00:00
parent af13241a0f
commit 75543f9149
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2014-01-27 Sergio Martin <sergio.martin@artica.es>
* include/functions_alerts.php: Fixed the group of the
event generated when validate an alert manually
2014-01-24 Sergio Martin <sergio.martin@artica.es>
* include/functions_alerts.php: Fix forgotten cases on

View File

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