MDL-51097 Lesson: allow resume from within a cluster
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user