MDL-55128 course: Fix param type for shortname

This commit is contained in:
Juan Leyva
2016-07-05 09:51:21 +01:00
parent a7221c5f19
commit 9b7d5cd41b
+1 -1
View File
@@ -7,7 +7,7 @@
require_once($CFG->libdir.'/completionlib.php');
$id = optional_param('id', 0, PARAM_INT);
$name = optional_param('name', '', PARAM_RAW);
$name = optional_param('name', '', PARAM_TEXT);
$edit = optional_param('edit', -1, PARAM_BOOL);
$hide = optional_param('hide', 0, PARAM_INT);
$show = optional_param('show', 0, PARAM_INT);