Project

General

Profile

Bug #62727 » localize.diff

Danilo Bürger, 2014-11-05 21:41

View differences:

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);
    (1-1/1)