diff --git a/pandora_console/include/functions_reporting_html.php b/pandora_console/include/functions_reporting_html.php index ff1ca50e38..2928b50065 100644 --- a/pandora_console/include/functions_reporting_html.php +++ b/pandora_console/include/functions_reporting_html.php @@ -129,7 +129,13 @@ function reporting_html_print_report($report, $mini = false) { $item['date']['to'], $label); - $table->data['description_row']['description'] = $item["description"]." - Total events: ".$item["total_events"]; + if($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; switch ($item['type']) {