$myxls->InsertNumber($average[$i]);
}
- $myxls->SendFileName("$quiz->name simplestat");
+ $myxls->SendFileName("$course->shortname $quiz->name");
exit;
}
/// Print header to force download
header("Content-Type: application/download\n");
- header("Content-Disposition: attachment; filename=\"$course->shortname $strgrades.txt\"");
+ header("Content-Disposition: attachment; filename=\"$course->shortname $quiz->name.txt\"");
/// Print names of all the fields