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

This commit is contained in:
Damyon Wiese
2013-04-29 15:36:09 +08:00
+1 -1
View File
@@ -42,7 +42,7 @@ class qtype_match_edit_form extends question_edit_form {
$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';