Permalink
Browse files

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

  • Loading branch information...
1 parent 735de1c commit 548a878becd1915f47f0a34e0a6806b40efa4b1d @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 548a878

Please sign in to comment.