Added some missing optional_params (bug 5125) Thanks Scott Elliott for the fix

This commit is contained in:
moodler
2006-04-09 02:06:26 +00:00
parent a472184c7b
commit 7ea8ea7faa
+4
View File
@@ -12,6 +12,10 @@
$idnumber = optional_param('idnumber');
$topic = optional_param('topic',0,PARAM_INT);
$studentview = optional_param('studentview','',PARAM_ALPHA);
$section = optional_param('section',0,PARAM_INT);
$move = optional_param('move',0,PARAM_INT);
$marker = optional_param('marker',0,PARAM_INT);
if (empty($id) && empty($name) && empty($idnumber)) {
error("Must specify course id, short name or idnumber");