Browse files

MDL-43265 Fix question name text to 255 chars

  • Loading branch information...
1 parent 27ebbdd commit 08e9a32e5f6df57f7b3ff9dd7ca44be68f3ba263 @jayeshanandani jayeshanandani committed Feb 13, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 question/type/edit_question_form.php
View
2 question/type/edit_question_form.php
@@ -181,7 +181,7 @@ protected function definition() {
}
$mform->addElement('text', 'name', get_string('questionname', 'question'),
- array('size' => 50));
+ array('size' => 50, 'maxlength' => 255)));
$mform->setType('name', PARAM_TEXT);
$mform->addRule('name', null, 'required', null, 'client');

0 comments on commit 08e9a32

Please sign in to comment.