From 3491d56a01924c823367ca61e421054e9b6380b7 Mon Sep 17 00:00:00 2001 From: mdtrooper Date: Tue, 15 Feb 2011 16:46:34 +0000 Subject: [PATCH] 2011-02-15 Miguel de Dios * godmode/alerts/alert_list.php: fixed the lost var in the audit. Fixes: #3182470 git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3857 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 6 ++++++ pandora_console/godmode/alerts/alert_list.php | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 34e7ca7e4d..b91c2dfcbd 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,9 @@ +2011-02-15 Miguel de Dios + + * godmode/alerts/alert_list.php: fixed the lost var in the audit. + + Fixes: #3182470 + 2011-02-15 Ramon Novoa * pandoradb_data.sql, include/functions_alerts.php, diff --git a/pandora_console/godmode/alerts/alert_list.php b/pandora_console/godmode/alerts/alert_list.php index 2a217354ef..345bf3d4e3 100644 --- a/pandora_console/godmode/alerts/alert_list.php +++ b/pandora_console/godmode/alerts/alert_list.php @@ -160,10 +160,10 @@ if ($delete_action) { $result = delete_alert_agent_module_action ($id_action); if ($result) { - pandora_audit("Alert management", 'Delete action ' . $id_action . ' in alert ' . $id_alert_module); + pandora_audit("Alert management", 'Delete action ' . $id_action . ' in alert ' . $id_alert); } else { - pandora_audit("Alert management", 'Fail to delete action ' . $id_action . ' in alert ' . $id_alert_module); + pandora_audit("Alert management", 'Fail to delete action ' . $id_action . ' in alert ' . $id_alert); } $messageAction = print_result_message ($result, __('Successfully deleted'), __('Could not be deleted'), '', true);