Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

MDL-34045 fix invalid idnumber field type in cohort form

  • Loading branch information...
commit f8e05deb354d062b373319cb4dda6b0d50f53062 1 parent a5f6ea2
@skodak skodak authored
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);
Please sign in to comment.
Something went wrong with that request. Please try again.