]> git.mjollnir.org Git - moodle.git/commitdiff
Added some missing optional_params (bug 5125) Thanks Scott Elliott for the fix
authormoodler <moodler>
Sun, 9 Apr 2006 02:06:26 +0000 (02:06 +0000)
committermoodler <moodler>
Sun, 9 Apr 2006 02:06:26 +0000 (02:06 +0000)
course/view.php

index 30ff1aea3f36bcd1c6507e3fcb7789902f23ff82..3235ee6d178f68a1d8b6539d1e2801aa32f248d4 100644 (file)
     $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");