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:
parent
af13241a0f
commit
75543f9149
|
@ -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>
|
2014-01-24 Sergio Martin <sergio.martin@artica.es>
|
||||||
|
|
||||||
* include/functions_alerts.php: Fix forgotten cases on
|
* include/functions_alerts.php: Fix forgotten cases on
|
||||||
|
|
|
@ -1250,7 +1250,7 @@ function alerts_validate_alert_agent_module ($id_alert_agent_module, $noACLs = f
|
||||||
foreach ($alerts as $id) {
|
foreach ($alerts as $id) {
|
||||||
$alert = alerts_get_alert_agent_module ($id);
|
$alert = alerts_get_alert_agent_module ($id);
|
||||||
$agent_id = modules_get_agentmodule_agent ($alert["id_agent_module"]);
|
$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);
|
$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);
|
$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);
|
$unknown_instructions = db_get_value('unknown_instructions', 'tagente_modulo', 'id_agente_modulo', $agent_id);
|
||||||
|
|
Loading…
Reference in New Issue