Added some missing optional_params (bug 5125) Thanks Scott Elliott for the fix
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user