Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge branch 'MDL-39342_24' of git://github.com/timhunt/moodle into M…

…OODLE_24_STABLE
  • Loading branch information...
commit 49b18efa4eda4971bf8142d685690909d9494270 2 parents 6f9d449 + 261aae2
Damyon Wiese damyon authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  question/type/match/edit_match_form.php
2  question/type/match/edit_match_form.php
View
@@ -42,7 +42,7 @@ protected function get_per_answer_fields($mform, $label, $gradeoptions,
$repeated[] = $mform->createElement('editor', 'subquestions',
get_string('question'), array('rows'=>3), $this->editoroptions);
$repeated[] = $mform->createElement('text', 'subanswers',
- get_string('answer', 'question'), array('size'=>50));
+ get_string('answer', 'question'), array('size' => 50, 'maxlength' => 255));
$repeatedoptions['subquestions']['type'] = PARAM_RAW;
$repeatedoptions['subanswers']['type'] = PARAM_TEXT;
$answersoption = 'subquestions';
Please sign in to comment.
Something went wrong with that request. Please try again.