Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge branch 'MDL-25823_m21' of git://github.com/rwijaya/moodle into …

…MOODLE_21_STABLE
  • Loading branch information...
commit 2331e2edddd442f5c86f9d198b75da603bcda331 2 parents c2d7c22 + 76a526a
@samhemelryk samhemelryk authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  mod/lesson/pagetypes/truefalse.php
View
2  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;
}
Please sign in to comment.
Something went wrong with that request. Please try again.