minor fix

Former-commit-id: 17cf4ce929b52904ea8c6120b3c36f859694211e
This commit is contained in:
fbsanchez 2019-04-23 12:20:12 +02:00
parent 883f3decb4
commit 57d66e95ce
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"');
}