MDL-70579 course: filter site fullname when exporting course content.

This commit is contained in:
Paul Holden 2021-01-06 21:28:53 +00:00
parent 56fd8c5125
commit 6fc5f5f1f6

View file

@ -255,7 +255,7 @@ class zipwriter {
$templatedata->global = (object) [
'righttoleft' => right_to_left(),
'language' => str_replace('_', '-', current_language()),
'sitename' => $SITE->fullname,
'sitename' => format_string($SITE->fullname, true, ['context' => context_system::instance()]),
'siteurl' => $CFG->wwwroot,
'pathtotop' => $this->get_relative_context_path($context, $this->rootcontext, '/'),
'contentexportfooter' => get_string('contentexport_footersummary', 'core', (object) [