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
+1 -1
View File
@@ -14,7 +14,7 @@
$categoryid = optional_param('category', 0, PARAM_INT);
$courseid = optional_param('course', 0, PARAM_INT);
$format = optional_param('format','',PARAM_CLEANFILE);
$format = optional_param('format','',PARAM_FILE);
if (!$categoryid) { // try to get category from modform
$showcatmenu = true; // will ensure that user can choose category