MDL-76468 output: Correct slasharg URL for theme stylesheet

This commit is contained in:
Andrew Nicols
2022-11-24 16:40:46 +08:00
parent 422da2ed45
commit c3c3a1fe0f
+1 -1
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,