mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 00:34:46 +02:00
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.
|
// Download if marked to download.
|
||||||
if ($filename === false) {
|
if ($filename !== false) {
|
||||||
header('Content-Type: application/xml; charset=UTF-8');
|
header('Content-Type: application/xml; charset=UTF-8');
|
||||||
header('Content-Disposition: attachment; filename="'.$filename.'.xml"');
|
header('Content-Disposition: attachment; filename="'.$filename.'.xml"');
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user