Fix bug events count in events reports - #4239
This commit is contained in:
parent
bb4a5787e1
commit
ee96d6069f
|
@ -129,12 +129,10 @@ function reporting_html_print_report($report, $mini = false) {
|
||||||
$item['date']['to'],
|
$item['date']['to'],
|
||||||
$label);
|
$label);
|
||||||
|
|
||||||
if($item["total_events"]){
|
if($item['type']=='event_report_agent' || $item['type']=='event_report_module' || $item['type']=='event_report_group'){
|
||||||
|
|
||||||
$table->data['description_row']['description'] = $item['description']." - Total events: ".$item["total_events"];
|
$table->data['description_row']['description'] = $item['description']." - Total events: ".$item["total_events"];
|
||||||
}
|
}
|
||||||
else{
|
|
||||||
$table->data['description_row']['description'] = $item["description"];
|
|
||||||
}
|
|
||||||
|
|
||||||
$table->colspan['description_row']['description'] = 3;
|
$table->colspan['description_row']['description'] = 3;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue