Skip to content
Browse files

Merge branch 'w27_MDL-34045_m21_idnumber' of git://github.com/skodak/…

…moodle into MOODLE_21_STABLE
  • Loading branch information...
2 parents 5edb51d + 92979a8 commit 0a6a6a9cdea587a766bc18af11e48e80d24ea78d @danpoltawski danpoltawski committed Jul 2, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 cohort/edit_form.php
View
2 cohort/edit_form.php
@@ -49,7 +49,7 @@ public function definition() {
$mform->addElement('select', 'contextid', get_string('context', 'role'), $options);
$mform->addElement('text', 'idnumber', get_string('idnumber', 'cohort'), 'maxlength="254" size="50"');
- $mform->setType('name', PARAM_RAW); // idnumbers are plain text, must not be changed
+ $mform->setType('idnumber', PARAM_RAW); // idnumbers are plain text, must not be changed
$mform->addElement('editor', 'description_editor', get_string('description', 'cohort'), null, $editoroptions);
$mform->setType('description_editor', PARAM_RAW);

0 comments on commit 0a6a6a9

Please sign in to comment.
Something went wrong with that request. Please try again.