diff --git a/typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php b/typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php index eb4e65e46effebcbc3e88e9f5a729a8abb91bc82..2c0fe6b41928973ad56d2161bd7d2e30bc05c4b7 100644 --- a/typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php +++ b/typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php @@ -2493,9 +2493,12 @@ class TypoScriptFrontendController { throw new ServiceUnavailableException($message . ' ' . $explanation, 1294587217); } } else { - $this->config['config'] = array(); + if (!isset($this->config['config'])) { + $this->config['config'] = array(); + } // Filling the config-array, first with the main "config." part if (is_array($this->tmpl->setup['config.'])) { + ArrayUtility::mergeRecursiveWithOverrule($this->tmpl->setup['config.'], $this->config['config']); $this->config['config'] = $this->tmpl->setup['config.']; } // override it with the page/type-specific "config."