Skip to content

Commit

Permalink
[BUGFIX] use TYPO3 ArrayUtility to merge language menu config (#495)
Browse files Browse the repository at this point in the history
  • Loading branch information
anjeylink authored and dmh committed Mar 15, 2019
1 parent edff67e commit 5d92478
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Classes/DataProcessing/LanguageMenuProcessor.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@

namespace T3kit\themeT3kit\DataProcessing;

use TYPO3\CMS\Core\Utility\ArrayUtility;

/**
* Extend original class with menuLevelConfig
*
Expand Down Expand Up @@ -39,7 +41,7 @@ public function __construct()
]
]
];
$this->menuLevelConfig = array_merge_recursive($this->menuLevelConfig, $additionalMenuConfig);
ArrayUtility::mergeRecursiveWithOverrule($this->menuLevelConfig, $additionalMenuConfig);

parent::__construct();
}
Expand Down

0 comments on commit 5d92478

Please sign in to comment.