Merge branch 'MDL-41075-master-3' of git://github.com/mouneyrac/moodle

This commit is contained in:
Marina Glancy
2013-12-17 11:23:43 +11:00
+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);
}