diff --git a/Classes/DataProcessing/LanguageMenuProcessor.php b/Classes/DataProcessing/LanguageMenuProcessor.php index 0335286f..3120c694 100644 --- a/Classes/DataProcessing/LanguageMenuProcessor.php +++ b/Classes/DataProcessing/LanguageMenuProcessor.php @@ -3,6 +3,8 @@ namespace T3kit\themeT3kit\DataProcessing; +use TYPO3\CMS\Core\Utility\ArrayUtility; + /** * Extend original class with menuLevelConfig * @@ -39,7 +41,7 @@ public function __construct() ] ] ]; - $this->menuLevelConfig = array_merge_recursive($this->menuLevelConfig, $additionalMenuConfig); + ArrayUtility::mergeRecursiveWithOverrule($this->menuLevelConfig, $additionalMenuConfig); parent::__construct(); }