mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 16:24:54 +02:00
minor fix
Former-commit-id: 17cf4ce929b52904ea8c6120b3c36f859694211e
This commit is contained in:
parent
883f3decb4
commit
57d66e95ce
@ -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