Skip to content

Commit

Permalink
MDL-38821 enrol_cohort: Fixing setType missing calls
Browse files Browse the repository at this point in the history
  • Loading branch information
David Monllao committed Apr 2, 2013
1 parent a5efbe6 commit 3de603a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions enrol/cohort/edit_form.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ function definition() {
$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'));
Expand Down

0 comments on commit 3de603a

Please sign in to comment.