mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-04-08 18:55:09 +02:00
Merge branch 'ent-3667-Bug-informes-metaconsola-en-csv' into 'develop'
minor fix See merge request artica/pandorafms!2371 Former-commit-id: d68d9354adbf4182a021d39fc174b8b9f54d82c1
This commit is contained in:
commit
619d5eaf7d
@ -50,7 +50,7 @@ function reporting_xml_get_report($report, $filename, $return=false)
|
||||
}
|
||||
|
||||
// Download if marked to download.
|
||||
if ($filename === false) {
|
||||
if ($filename !== false) {
|
||||
header('Content-Type: application/xml; charset=UTF-8');
|
||||
header('Content-Disposition: attachment; filename="'.$filename.'.xml"');
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user