Skip to content

Commit

Permalink
Merge branch 'MDL-36589_m23' of git://github.com/rwijaya/moodle into …
Browse files Browse the repository at this point in the history
…MOODLE_23_STABLE
  • Loading branch information
Sam Hemelryk committed Nov 19, 2012
2 parents 6548ce0 + effbfda commit 9907248
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mod/lesson/format.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9907248

Please sign in to comment.