mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-27 15:54:29 +02:00
Events count filter by type in event reports #4261
(cherry picked from commit aacdaf2f061ddb2414f3b62c463c71e231a1db6f)
This commit is contained in:
parent
ef42605f4e
commit
13adfce896
@ -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']) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user