mirror of
https://github.com/moodle/moodle.git
synced 2025-01-31 12:45:04 +01:00
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:
parent
422f68fb86
commit
552e36a6a3
@ -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'));
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user