Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

MDL-43265 Fix question name text to 255 chars

  • Loading branch information...
commit 08e9a32e5f6df57f7b3ff9dd7ca44be68f3ba263 1 parent 27ebbdd
@jayeshanandani jayeshanandani authored
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');
Please sign in to comment.
Something went wrong with that request. Please try again.