mirror of
https://github.com/moodle/moodle.git
synced 2025-01-31 12:45:04 +01:00
MDL-44056 questions: restore essay attempts from 2.0 notice.
This commit is contained in:
parent
974c2cdc03
commit
9a59691237
@ -62,6 +62,7 @@ class qtype_essay_qe2_attempt_updater extends question_qtype_attempt_updater {
|
||||
public function set_data_elements_for_step($state, &$data) {
|
||||
if (!empty($state->answer)) {
|
||||
$data['answer'] = $state->answer;
|
||||
$data['answerformat'] = FORMAT_HTML;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user