Bug #62727 » localize.diff
typo3/sysext/core/Classes/DataHandling/DataHandler.php | ||
---|---|---|
$dbAnalysis = $this->createRelationHandlerInstance();
|
||
$dbAnalysis->start($value, $allowedTables, $mmTable, $uid, $table, $conf);
|
||
// Localize referenced records of select fields:
|
||
if ($language > 0 && ($localizeReferences && empty($mmTable) || $localizeChildren && $localizationMode === 'select' && $inlineSubType === 'mm')) {
|
||
if ($language > 0 && ($localizeReferences || $localizeChildren && $localizationMode === 'select' && $inlineSubType === 'mm')) {
|
||
foreach ($dbAnalysis->itemArray as $index => $item) {
|
||
// Since select fields can reference many records, check whether there's already a localization:
|
||
$recordLocalization = BackendUtility::getRecordLocalization($item['table'], $item['id'], $language);
|