Permalink
Browse files

mod-lesson MDL-25632 Fixed incorrect comment in matching question code.

  • Loading branch information...
Sam Hemelryk
Sam Hemelryk committed Dec 15, 2010
1 parent 26063f4 commit 86d99db3a04f6c0b60ec91539784d46d44f762ea
Showing with 1 addition and 2 deletions.
  1. +1 −2 mod/lesson/pagetypes/matching.php
@@ -433,8 +433,7 @@ public function report_answers($answerpage, $answerdata, $useranswer, $pagestats
}
public function get_jumps() {
global $DB;
- // The jumps for matching question type is stored
- // in the 3rd and 4rth answer record.
+ // The jumps for matching question type are stored in the 1st and 2nd answer record.
$jumps = array();
if ($answers = $DB->get_records("lesson_answers", array("lessonid" => $this->lesson->id, "pageid" => $this->properties->id), 'id', '*', 0, 2)) {
foreach ($answers as $answer) {

0 comments on commit 86d99db

Please sign in to comment.