Skip to content
Permalink
Browse files
Merge branch 'MDL-61042-33' of git://github.com/junpataleta/moodle in…
…to MOODLE_33_STABLE
  • Loading branch information
David Monllao committed Dec 18, 2017
2 parents 23d7a70 + 9a2441c commit 00f88c287dfd11be826260fef1f073bc5c9cca49
Showing with 1 addition and 0 deletions.
  1. +1 −0 mod/lesson/locallib.php
@@ -1031,6 +1031,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) {

0 comments on commit 00f88c2

Please sign in to comment.