diff --git a/mod/lesson/view.php b/mod/lesson/view.php index 5bd03d2b7aa..ef59fa0b17a 100644 --- a/mod/lesson/view.php +++ b/mod/lesson/view.php @@ -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; }