Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

…MOODLE_22_STABLE
  • Loading branch information...
commit b7696aa0b6d901e8740a06d42016b0c2ec51eb11 2 parents b969895 + 1cf1a17
@samhemelryk samhemelryk authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  mod/lesson/format.php
View
1  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
Please sign in to comment.
Something went wrong with that request. Please try again.