Browse files

Fixed a bug with clusters. If you enter a cluster after a page it wou…

…ld throw a

navigation error.  It now enters the cluster properly.
  • Loading branch information...
1 parent d673f73 commit 7070d53107ccdbd97653bee4a9f53a50a1dee027 michaelpenne committed Jun 15, 2005
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/lesson/action/continue.php
View
2 mod/lesson/action/continue.php
@@ -727,7 +727,7 @@
error("Error: could not find page");
}
if ($page->qtype == LESSON_CLUSTER) {
- $newpageid = LESSON_CLUSTERJUMP;
+ $newpageid = lesson_cluster_jump($lesson->id, $USER->id, $page->id);
} elseif ($page->qtype == LESSON_ENDOFCLUSTER) {
$jump = get_field("lesson_answers", "jumpto", "pageid", $page->id, "lessonid", $lesson->id);
if ($jump == LESSON_NEXTPAGE) {

0 comments on commit 7070d53

Please sign in to comment.