Bug #57063 » InlineElement.patch
typo3/sysext/backend/Classes/Form/Element/InlineElement.php | ||
---|---|---|
}
|
||
}
|
||
// 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'];
|