Skip to content

Commit

Permalink
MDL-44056 questions: restore essay attempts from 2.0 notice.
Browse files Browse the repository at this point in the history
  • Loading branch information
timhunt committed Feb 9, 2014
1 parent 974c2cd commit 9a59691
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions question/type/essay/db/upgradelib.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ public function supply_missing_first_step_data(&$data) {
public function set_data_elements_for_step($state, &$data) {
if (!empty($state->answer)) {
$data['answer'] = $state->answer;
$data['answerformat'] = FORMAT_HTML;
}
}
}

0 comments on commit 9a59691

Please sign in to comment.