Skip to content

Commit

Permalink
MDL-34045 fix invalid idnumber field type in cohort form
Browse files Browse the repository at this point in the history
  • Loading branch information
skodak committed Jun 30, 2012
1 parent 6be7840 commit 81f3d7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cohort/edit_form.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 81f3d7a

Please sign in to comment.