Merge branch 'mdl-83857_500' of https://github.com/james-cnz/moodle into MOODLE_500_STABLE
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user