Skip to content

Commit

Permalink
Merge branch 'MDL-39342_24' of git://github.com/timhunt/moodle into M…
Browse files Browse the repository at this point in the history
…OODLE_24_STABLE
  • Loading branch information
Damyon Wiese committed Apr 29, 2013
2 parents 6f9d449 + 261aae2 commit 49b18ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion question/type/match/edit_match_form.php
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ protected function get_per_answer_fields($mform, $label, $gradeoptions,
$repeated[] = $mform->createElement('editor', 'subquestions', $repeated[] = $mform->createElement('editor', 'subquestions',
get_string('question'), array('rows'=>3), $this->editoroptions); get_string('question'), array('rows'=>3), $this->editoroptions);
$repeated[] = $mform->createElement('text', 'subanswers', $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['subquestions']['type'] = PARAM_RAW;
$repeatedoptions['subanswers']['type'] = PARAM_TEXT; $repeatedoptions['subanswers']['type'] = PARAM_TEXT;
$answersoption = 'subquestions'; $answersoption = 'subquestions';
Expand Down

0 comments on commit 49b18ef

Please sign in to comment.