diff --git a/lib/outputlib.php b/lib/outputlib.php index a62786a6c41..5a2c8319346 100644 --- a/lib/outputlib.php +++ b/lib/outputlib.php @@ -739,7 +739,11 @@ class theme_config { $this->name = $config->name; $this->dir = $config->dir; - $baseconfig = $config; + if ($this->name != self::DEFAULT_THEME) { + $baseconfig = self::find_theme_config(self::DEFAULT_THEME, $this->settings); + } else { + $baseconfig = $config; + } $configurable = array( 'parents', 'sheets', 'parents_exclude_sheets', 'plugins_exclude_sheets', 'usefallback',