diff --git a/index.php b/index.php index 2a19e45c5a5..aea0b2bbb1d 100644 --- a/index.php +++ b/index.php @@ -130,6 +130,10 @@ echo '

'; } + if (!is_null($section->name)) { + echo $OUTPUT->heading($section->name, 1, 'sectionname'); + } + $context = context_course::instance(SITEID); $summarytext = file_rewrite_pluginfile_urls($section->summary, 'pluginfile.php', $context->id, 'course', 'section', $section->id); $summaryformatoptions = new stdClass();