From 79bc07eb6223faeda05016f76ca66cb59ac446ac Mon Sep 17 00:00:00 2001 From: daniel Date: Tue, 27 Sep 2016 15:50:42 +0200 Subject: [PATCH] fixed minor error in reports alerts tickets: 4063 (cherry picked from commit 626027a3025809cef2a58de8b112a53aa7925fa6) --- pandora_console/include/functions_reporting.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pandora_console/include/functions_reporting.php b/pandora_console/include/functions_reporting.php index 845f8887e5..1782de5188 100644 --- a/pandora_console/include/functions_reporting.php +++ b/pandora_console/include/functions_reporting.php @@ -2623,8 +2623,8 @@ function reporting_alert_report_group($report, $content) { $data_row['fired'] = array(); $firedTimes = get_module_alert_fired( - $content['id_agent_module'], - $alert['id_alert_template'], + $alert['id_agent_module'], + $alert['id'], (int) $content['period'], (int) $report["datetime"]); @@ -2731,7 +2731,7 @@ function reporting_alert_report_agent($report, $content) { $data_row['fired'] = array(); $firedTimes = get_module_alert_fired( $alert['id_agent_module'], - $alert['id_alert_template'], + $alert['id'], (int) $content['period'], (int) $report["datetime"]);