Merge branch 'MDL-53500-master' of git://github.com/cameron1729/moodle
authorAndrew Nicols <andrew@nicols.co.uk>
Tue, 5 Apr 2016 04:22:42 +0000 (12:22 +0800)
committerAndrew Nicols <andrew@nicols.co.uk>
Tue, 5 Apr 2016 04:22:42 +0000 (12:22 +0800)
report/outline/user.php

index 8ef583c..162453e 100644 (file)
@@ -99,7 +99,7 @@ if ($courseid != SITEID) {
         ), 2);
 }
 
-$modinfo = get_fast_modinfo($course);
+$modinfo = get_fast_modinfo($course, $user->id);
 $sections = $modinfo->get_section_info_all();
 $itemsprinted = false;