mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 00:16:46 +02:00
MDL-55362 core: Fixed topic section default name empty h2 tag
This commit is contained in:
parent
b4d6669dd0
commit
44002b183c
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue