Merge branch 'develop' of https://brutus.artica.lan:8081/artica/pandorafms into develop
Former-commit-id: 489946341bfbf5c985750eac90dd12f7cbea91e5
This commit is contained in:
commit
4f25c89a74
|
@ -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…
Reference in New Issue