From: moodler Date: Sun, 9 Apr 2006 02:06:26 +0000 (+0000) Subject: Added some missing optional_params (bug 5125) Thanks Scott Elliott for the fix X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=7ea8ea7faaa55d498684c5339b3597f1d41d6806;p=moodle.git Added some missing optional_params (bug 5125) Thanks Scott Elliott for the fix --- diff --git a/course/view.php b/course/view.php index 30ff1aea3f..3235ee6d17 100644 --- a/course/view.php +++ b/course/view.php @@ -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");