Merge branch 'MDL-51097_m31v1' of https://github.com/sbourget/moodle

This commit is contained in:
Dan Poltawski 2015-12-08 10:34:44 +00:00
commit c3c5e30930

View File

@ -215,6 +215,8 @@ if (empty($pageid)) {
}
} elseif ($jumpto == LESSON_NEXTPAGE) {
$lastpageseen = $lesson->get_next_page($attemptpage->nextpageid);
} else if ($jumpto == LESSON_CLUSTERJUMP) {
$lastpageseen = $lesson->cluster_jump($attempt->pageid);
} else {
$lastpageseen = $jumpto;
}