diff --git a/mod/lesson/format.php b/mod/lesson/format.php index 134c14b9661..9eb2c1829b6 100644 --- a/mod/lesson/format.php +++ b/mod/lesson/format.php @@ -262,6 +262,7 @@ function lesson_save_question_options($question, $lesson) { // The first answer should always be the correct answer $correctanswer = clone($defaultanswer); $correctanswer->answer = get_string('thatsthecorrectanswer', 'lesson'); + $correctanswer->jumpto = LESSON_NEXTPAGE; $DB->insert_record("lesson_answers", $correctanswer); // The second answer should always be the wrong answer