Commit 69d99999 authored by Stefan Galinski's avatar Stefan Galinski 🎮

[BUGFIX] PHP warning with missing array

Fixes: #65530
parent b139e091
......@@ -84,7 +84,7 @@ class LocalizationFactory extends \TYPO3\CMS\Core\Localization\LocalizationFacto
// it's possible that a language override exists, but no related localized language file in the extension
if (!$isLocalizationOverride && isset($GLOBALS['TYPO3_CONF_VARS']['SYS']['locallangXMLOverride'])) {
try {
$LOCAL_LANG = $this->store->getData($fileReference);
$LOCAL_LANG = (array) $this->store->getData($fileReference);
$this->localizationOverride($fileReference, $languageKey, $charset, $errorMode, $LOCAL_LANG);
// Save parsed data in cache
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment