diff --git a/mod/lesson/action/continue.php b/mod/lesson/action/continue.php index c0d3e3f7b15..ef694229c49 100644 --- a/mod/lesson/action/continue.php +++ b/mod/lesson/action/continue.php @@ -478,11 +478,11 @@ if ($lesson->custom) { if ($answer->score > 0) { $correctanswer = true; - $answerid = $answer->id; } else { $correctanswer = false; } } + $answerid = $answer->id; /// CDC-FLAG /// break; }