mirror of
https://github.com/moodle/moodle.git
synced 2025-04-27 19:33:16 +02:00
MDL-38821 enrol_cohort: Fixing setType missing calls
This commit is contained in:
parent
a5efbe6161
commit
3de603a175
@ -47,6 +47,7 @@ class enrol_cohort_edit_form extends moodleform {
|
||||
$mform->addElement('header','general', get_string('pluginname', 'enrol_cohort'));
|
||||
|
||||
$mform->addElement('text', 'name', get_string('custominstancename', 'enrol'));
|
||||
$mform->setType('name', PARAM_TEXT);
|
||||
|
||||
$options = array(ENROL_INSTANCE_ENABLED => get_string('yes'),
|
||||
ENROL_INSTANCE_DISABLED => get_string('no'));
|
||||
|
Loading…
x
Reference in New Issue
Block a user