MDL-41075 Remove "Choose..." option from participants page.

This commit is contained in:
Jerome Mouneyrac
2013-12-16 12:08:36 +08:00
parent 3e6e38b2e3
commit ef483684d3
+1 -1
View File
@@ -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);
}