MDL-36335 - course: Orphaned activities no longer show a notice.
authorAdrian Greeve <adrian@moodle.com>
Tue, 8 Jan 2013 04:25:09 +0000 (12:25 +0800)
committerAdrian Greeve <adrian@moodle.com>
Tue, 8 Jan 2013 04:25:09 +0000 (12:25 +0800)
course/format/renderer.php

index eff7439..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);
+                print_section($course, $thissection, $mods, $modnamesused, true, "100%", false, 0);
                 echo $this->stealth_section_footer();
             }