mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 08:45:12 +02:00
Changed name of xml report
This commit is contained in:
parent
b409dde9c0
commit
945383b8ec
@ -91,10 +91,6 @@ check_login();
|
||||
$id_report = (int) get_parameter('id');
|
||||
$filename = (string) get_parameter('filename');
|
||||
|
||||
if (empty($filename)) {
|
||||
$filename = 'pandorafms_report_'.date('Y-m-d_His');
|
||||
}
|
||||
|
||||
$date_mode = get_parameter('date_mode', 'none');
|
||||
|
||||
$period = null;
|
||||
@ -132,6 +128,10 @@ $report = reporting_make_reporting_data(
|
||||
'static'
|
||||
);
|
||||
|
||||
if (empty($filename)) {
|
||||
$filename = $report['name'].'_report_'.date('Y-m-d_His');
|
||||
}
|
||||
|
||||
reporting_xml_get_report($report, $filename);
|
||||
|
||||
exit;
|
||||
|
Loading…
x
Reference in New Issue
Block a user