mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 14:27:22 +01:00
Merge branch 'MDL-39342' of git://github.com/timhunt/moodle
This commit is contained in:
commit
9b77b2011d
@ -44,7 +44,7 @@ class qtype_match_edit_form extends question_edit_form {
|
||||
$repeated[] = $mform->createElement('editor', 'subquestions',
|
||||
$label, 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';
|
||||
|
Loading…
x
Reference in New Issue
Block a user