Merge branch 'MDL-55362_master' of git://github.com/Chocolate-lightning/moodle
This commit is contained in:
@@ -147,7 +147,7 @@ if (!empty($CFG->customfrontpageinclude)) {
|
||||
$context = context_course::instance(SITEID);
|
||||
|
||||
// If the section name is set we show it.
|
||||
if (!is_null($section->name)) {
|
||||
if (trim($section->name) !== '') {
|
||||
echo $OUTPUT->heading(
|
||||
format_string($section->name, true, array('context' => $context)),
|
||||
2,
|
||||
|
||||
Reference in New Issue
Block a user