typo3/sysext/backend/Classes/Form/Element/InlineElement.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/typo3/sysext/backend/Classes/Form/Element/InlineElement.php b/typo3/sysext/backend/Classes/Form/Element/InlineElement.php index cd6cc39..caacc13 100644 --- a/typo3/sysext/backend/Classes/Form/Element/InlineElement.php +++ b/typo3/sysext/backend/Classes/Form/Element/InlineElement.php @@ -1222,7 +1222,7 @@ class InlineElement { } } // Set language of new child record to the language of the parent record: - if ($config['localizationMode'] == 'select') { + if ($config['behaviour']['localizationMode'] == 'select') { $parentRecord = $this->getRecord(0, $parent['table'], $parent['uid']); $parentLanguageField = $GLOBALS['TCA'][$parent['table']]['ctrl']['languageField']; $childLanguageField = $GLOBALS['TCA'][$current['table']]['ctrl']['languageField'];