diff --git a/pandora_console/include/functions_reporting.php b/pandora_console/include/functions_reporting.php index f44d1ed603..a4930ac920 100644 --- a/pandora_console/include/functions_reporting.php +++ b/pandora_console/include/functions_reporting.php @@ -1410,6 +1410,8 @@ function reporting_event_report_group($report, $content, metaconsole_restore_db(); } + $return['total_events'] = count($return['data']); + return reporting_check_structure_content($return); } @@ -1454,6 +1456,8 @@ function reporting_event_report_module($report, $content) { metaconsole_restore_db(); } + $return['total_events'] = count($return['data']); + return reporting_check_structure_content($return); } @@ -2270,6 +2274,8 @@ function reporting_event_report_agent($report, $content, metaconsole_restore_db(); } + $return['total_events'] = count($return['data']); + return reporting_check_structure_content($return); }