Skip to content
Permalink
Browse files
Merge branch 'MDL-61042-34' of git://github.com/junpataleta/moodle in…
…to MOODLE_34_STABLE
  • Loading branch information
David Monllao committed Dec 18, 2017
2 parents 1041cca + 0ff581c commit 18e6878f5ae98488f803b83d8a3d3590e86ecaad
Showing with 1 addition and 0 deletions.
  1. +1 −0 mod/lesson/locallib.php
@@ -1059,6 +1059,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 18e6878

Please sign in to comment.