Bug #57063 » InlineElement_2nd.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 ( \TYPO3\CMS\Backend\Utility\BackendUtility::getInlineLocalizationMode($current['table'], $config) == 'select') {
|
||
$parentRecord = $this->getRecord(0, $parent['table'], $parent['uid']);
|
||
$parentLanguageField = $GLOBALS['TCA'][$parent['table']]['ctrl']['languageField'];
|
||
$childLanguageField = $GLOBALS['TCA'][$current['table']]['ctrl']['languageField'];
|
- « Previous
- 1
- 2
- Next »