diff --git a/user/index.php b/user/index.php index dc0984f6f21..ba65cb89587 100644 --- a/user/index.php +++ b/user/index.php @@ -206,7 +206,7 @@ unset($courselist[SITEID]); $courselist = array(SITEID => format_string($SITE->shortname, true, array('context' => $systemcontext))) + $courselist; } - $select = new single_select($popupurl, 'id', $courselist, $course->id, array(''=>'choosedots'), 'courseform'); + $select = new single_select($popupurl, 'id', $courselist, $course->id, null, 'courseform'); $select->set_label(get_string('mycourses')); $controlstable->data[0]->cells[] = $OUTPUT->render($select); }