Merge branch 'MDL-32889-master' of https://github.com/mackensen/moodle

This commit is contained in:
Sam Hemelryk
2012-05-16 13:09:32 +12:00
6 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -2659,7 +2659,7 @@ function data_export_csv($export, $delimiter_name, $dataname, $count, $return=fa
$filename .= '.csv';
if (empty($return)) {
header("Content-Type: application/download\n");
header("Content-Disposition: attachment; filename=$filename");
header("Content-Disposition: attachment; filename=\"$filename\"");
header('Expires: 0');
header('Cache-Control: must-revalidate,post-check=0,pre-check=0');
header('Pragma: public');