Merge branch 'mdl-83857_500' of https://github.com/james-cnz/moodle into MOODLE_500_STABLE

This commit is contained in:
Mihail Geshoski
2025-09-19 09:54:02 +08:00
12 changed files with 41 additions and 20 deletions
@@ -91,7 +91,8 @@ class content implements named_templatable, renderable {
'initialsection' => $initialsection,
'sections' => $sections,
'format' => $format->get_format(),
'sectionreturn' => null,
'sectionreturn' => 'null', // Mustache templates don't display NULL, so pass a string value.
'pagesectionid' => $this->format->get_sectionid() ?? 'null', // Pass a string value if NULL.
];
// The single section format has extra navigation.