Merge branch 'MDL-76468-master' of https://github.com/andrewnicols/moodle

This commit is contained in:
Jun Pataleta 2022-11-24 17:51:56 +08:00
commit 2dcb36153d

View File

@ -941,7 +941,7 @@ class theme_config {
$url = new moodle_url("/theme/styles.php");
if (!empty($CFG->slasharguments)) {
$url->set_slashargument("{$this->name}/{$rev}/{$type}", 'noparam', true);
$url->set_slashargument("/{$this->name}/{$rev}/{$type}", 'noparam', true);
} else {
$url->params([
'theme' => $this->name,