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

This commit is contained in:
Sam Hemelryk
2010-12-15 13:12:33 +08:00
parent 26063f4b55
commit 86d99db3a0
+1 -2
View File
@@ -433,8 +433,7 @@ class lesson_page_type_matching extends lesson_page {
}
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) {