Fixed bug in report date in pdf reports

This commit is contained in:
Tatiana Llorente 2019-11-06 10:34:08 +01:00
parent 868bba07b0
commit 1a34e488b6
1 changed files with 1 additions and 1 deletions

View File

@ -179,7 +179,7 @@ function reporting_make_reporting_data(
$report['group_name'] = groups_get_name($report['id_group']); $report['group_name'] = groups_get_name($report['id_group']);
$report['contents'] = []; $report['contents'] = [];
if (empty($report['period']) && $pdf === false) { if (empty($report['period'])) {
$report['period'] = $period; $report['period'] = $period;
} }