changed filename cleaning from PARAM_CLEANFILE to PARAM_FILE

This commit is contained in:
thepurpleblob
2006-03-08 13:12:46 +00:00
parent 5496f50cae
commit 5a4bcbc37c
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -14,8 +14,8 @@
$categoryid = optional_param('category',0, PARAM_INT);
$courseid = required_param('courseid',PARAM_INT);
$format = optional_param('format','', PARAM_CLEANFILE );
$exportfilename = optional_param('exportfilename','',PARAM_CLEANFILE );
$format = optional_param('format','', PARAM_FILE );
$exportfilename = optional_param('exportfilename','',PARAM_FILE );
if (! $course = get_record("course", "id", $courseid)) {
error("Course does not exist!");