From 1a34e488b67c9e7eda36c5a88e81414648cb9350 Mon Sep 17 00:00:00 2001 From: Tatiana Llorente Date: Wed, 6 Nov 2019 10:34:08 +0100 Subject: [PATCH] Fixed bug in report date in pdf reports --- pandora_console/include/functions_reporting.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandora_console/include/functions_reporting.php b/pandora_console/include/functions_reporting.php index ef3d734286..a5e76eabf3 100755 --- a/pandora_console/include/functions_reporting.php +++ b/pandora_console/include/functions_reporting.php @@ -179,7 +179,7 @@ function reporting_make_reporting_data( $report['group_name'] = groups_get_name($report['id_group']); $report['contents'] = []; - if (empty($report['period']) && $pdf === false) { + if (empty($report['period'])) { $report['period'] = $period; }