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

This commit is contained in:
Jerome Mouneyrac 2013-12-16 12:07:33 +08:00
parent 2f4e0db7c3
commit 97b659a13f

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);
}