MDL-6949 fixed enrolment choice in course edit form

This commit is contained in:
skodak
2006-11-15 19:06:49 +00:00
parent 84bf852c1b
commit e517b6dade
+1
View File
@@ -188,6 +188,7 @@ class course_edit_form extends moodleform {
//--------------------------------------------------------------------------------
$mform->addElement('header','enrolhdr', get_string('enrolments'));
$choices = array();
$modules = explode(',', $CFG->enrol_plugins_enabled);
foreach ($modules as $module) {
$name = get_string('enrolname', "enrol_$module");