Skip to content
Browse files

changed $pages[$count][0] to $pageid on line #617

  • Loading branch information...
1 parent da72d76 commit c732188674893df44d2dbc855aec6ae31ac0034a michaelpenne committed Sep 28, 2004
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/lesson/locallib.php
View
2 mod/lesson/locallib.php
@@ -614,7 +614,7 @@ function lesson_cluster_jump($lesson, $user, $pageid) {
while (true) { // now load all the pages into the cluster that are not already inside of a branch table.
if ($lessonpages[$pageid]->qtype == LESSON_ENDOFCLUSTER) {
// store the endofcluster page's jump
- $exitjump = get_field("lesson_answers", "jumpto", "pageid", $pages[$count][0], "lessonid", $lesson);
+ $exitjump = get_field("lesson_answers", "jumpto", "pageid", $pageid, "lessonid", $lesson);
if ($exitjump == LESSON_NEXTPAGE) {
$exitjump = $lessonpages[$pageid]->nextpageid;
}

0 comments on commit c732188

Please sign in to comment.
Something went wrong with that request. Please try again.