MDL-38981 Wrong responsetemplateformat restoring 1.9 essay questions
During restore of 1.9 backups, missing responsetemplateformat and graderinfoformat values should be set to FORMAT_HTML.
This commit is contained in:
@@ -47,9 +47,9 @@ class moodle1_qtype_essay_handler extends moodle1_qtype_handler {
|
||||
'responsefieldlines' => 15,
|
||||
'attachments' => 0,
|
||||
'graderinfo' => '',
|
||||
'graderinfoformat' => FORMAT_MOODLE,
|
||||
'graderinfoformat' => FORMAT_HTML,
|
||||
'responsetemplate' => '',
|
||||
'responsetemplateformat' => FORMAT_MOODLE
|
||||
'responsetemplateformat' => FORMAT_HTML
|
||||
), array('/essay/id'));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user