Skip to content
Browse files

Merge branch 'MDL-32172_m21' of git://github.com/rwijaya/moodle into …

…MOODLE_21_STABLE
  • Loading branch information...
2 parents fa913a3 + 08b69b2 commit 8b2aff422fc84d24f49ec184acb2cf853274f37f @danpoltawski danpoltawski committed Mar 26, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 mod/lesson/locallib.php
View
1 mod/lesson/locallib.php
@@ -201,6 +201,7 @@ function lesson_unseen_branch_jump($lesson, $userid) {
// this function searches through the lesson pages to find all the branch tables
// that follow the flagged branch table
$pageid = $lessonpages[$start]->nextpageid; // move down from the flagged branch table
+ $branchtables = array();
while ($pageid != 0) { // grab all of the branch table till eol
if ($lessonpages[$pageid]->qtype == LESSON_PAGE_BRANCHTABLE) {
$branchtables[] = $lessonpages[$pageid]->id;

0 comments on commit 8b2aff4

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