Permalink
Browse files

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

…OODLE_24_STABLE
  • Loading branch information...
2 parents 6f9d449 + 261aae2 commit 49b18efa4eda4971bf8142d685690909d9494270 @damyon damyon committed Apr 29, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 question/type/match/edit_match_form.php
@@ -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';

0 comments on commit 49b18ef

Please sign in to comment.