Merge branch 'wip-MDL-36335-23' of git://github.com/abgreeve/moodle into MOODLE_23_STABLE
authorSam Hemelryk <sam@moodle.com>
Sun, 13 Jan 2013 22:43:29 +0000 (11:43 +1300)
committerSam Hemelryk <sam@moodle.com>
Sun, 13 Jan 2013 22:43:29 +0000 (11:43 +1300)
course/format/renderer.php

index d832388..7a0c100 100644 (file)
@@ -716,7 +716,7 @@ abstract class format_section_renderer_base extends plugin_renderer_base {
                     continue;
                 }
                 echo $this->stealth_section_header($section);
-                print_section($course, $thissection, $mods, $modnamesused, true, "100%", false, $displaysection);
+                print_section($course, $thissection, $mods, $modnamesused, true, "100%", false, 0);
                 echo $this->stealth_section_footer();
             }