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:
Alejandro Fraguas 2019-04-23 12:54:20 +02:00
commit 619d5eaf7d
1 changed files with 1 additions and 1 deletions

View File

@ -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"');
}