Permalink
Browse files

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

  • Loading branch information...
1 parent 919e659 commit 9e232387f59d2e443b971e1f66f4b69990830122 Rossiani Wijaya 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 9e23238

Please sign in to comment.