Merge branch 'MDL-65708-master' of git://github.com/Chocolate-lightning/moodle

This commit is contained in:
Andrew Nicols
2019-05-27 14:46:41 +08:00
+5 -1
View File
@@ -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',