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:
Jean-Michel Vedrine 2013-04-06 11:09:30 +02:00
parent 422f68fb86
commit 552e36a6a3

View File

@ -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'));
}
}