diff --git a/course/format/renderer.php b/course/format/renderer.php index 45977d452a437..5b6ca4bff1583 100644 --- a/course/format/renderer.php +++ b/course/format/renderer.php @@ -552,6 +552,8 @@ public function print_multiple_section_page($course, $sections, $mods, $modnames // a section_info object - we will need at least the uservisible // field in it. $thissection->uservisible = true; + $thissection->availableinfo = null; + $thissection->showavailability = 0; } // Show the section if the user is permitted to access it, OR if it's not available // but showavailability is turned on