mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
NOBUG: Added missing quotes to database preset header call
This commit is contained in:
parent
432ba64b9b
commit
0170b834b1
@ -123,7 +123,7 @@ if (optional_param('sesskey', false, PARAM_BOOL) && confirm_sesskey()) {
|
||||
$exportfile = data_presets_export($course, $cm, $data);
|
||||
$exportfilename = basename($exportfile);
|
||||
header("Content-Type: application/download\n");
|
||||
header("Content-Disposition: attachment; filename=$exportfilename");
|
||||
header("Content-Disposition: attachment; filename=\"$exportfilename\"");
|
||||
header('Expires: 0');
|
||||
header('Cache-Control: must-revalidate,post-check=0,pre-check=0');
|
||||
header('Pragma: public');
|
||||
|
Loading…
x
Reference in New Issue
Block a user