Fix bug counting events in event reports #4239
This commit is contained in:
parent
5d0ab06295
commit
f100a6be1f
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue