Permalink
Browse files

MDL-25823 lesson mod: fixed true and false question feedback.

  • Loading branch information...
1 parent f08f22c commit 76a526a270f4f343b189d721c54c1f92bf83cd6c @rwijaya rwijaya committed Nov 3, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/lesson/pagetypes/truefalse.php
@@ -95,7 +95,7 @@ public function check_answer() {
}
$result->newpageid = $answer->jumpto;
$result->response = format_text($answer->response, $answer->responseformat, $formattextdefoptions);
- $result->studentanswer = $result->userresponse = $result->response;
+ $result->studentanswer = $result->userresponse = $answer->answer;
return $result;
}

0 comments on commit 76a526a

Please sign in to comment.