Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge branch 'MDL-61042-master' of git://github.com/junpataleta/moodle
  • Loading branch information
David Monllao committed Dec 18, 2017
2 parents 7bce505 + 409da21 commit 4ea34b6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mod/lesson/locallib.php
Expand Up @@ -1055,6 +1055,7 @@ function lesson_get_user_detailed_report_data(lesson $lesson, $userid, $attempt)
$lesson->update_effective_access($userid);
}

$pageid = 0;
$lessonpages = $lesson->load_all_pages();
foreach ($lessonpages as $lessonpage) {
if ($lessonpage->prevpageid == 0) {
Expand Down

0 comments on commit 4ea34b6

Please sign in to comment.