From 7ea8ea7faaa55d498684c5339b3597f1d41d6806 Mon Sep 17 00:00:00 2001 From: moodler Date: Sun, 9 Apr 2006 02:06:26 +0000 Subject: [PATCH] Added some missing optional_params (bug 5125) Thanks Scott Elliott for the fix --- course/view.php | 4 ++++ 1 file changed, 4 insertions(+) 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"); -- 2.39.5