MDL-51097 Lesson: allow resume from within a cluster

This commit is contained in:
Stephen Bourget
2015-11-18 23:20:57 -05:00
parent 6114fab93b
commit e9b0443000
+2
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;
}