Skip to content

Commit

Permalink
MDL-35357 Lesson Module: fixed undefined property for $answerformat
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael de Raadt authored and Rossiani Wijaya committed Jan 21, 2013
1 parent 7def533 commit e605210
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mod/lesson/pagetypes/essay.php
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,7 @@ public function report_answers($answerpage, $answerdata, $useranswer, $pagestats
} else {
$essayinfo = new stdClass();
$essayinfo->answer = get_string("didnotanswerquestion", "lesson");
$essayinfo->answerformat = null;
}

if (isset($pagestats[$this->properties->id])) {
Expand Down

0 comments on commit e605210

Please sign in to comment.