Bug #21500 ยป 12512.diff
t3lib/class.t3lib_tcemain.php (working copy) | ||
---|---|---|
if ($table == 'pages') return;
|
||
t3lib_div::loadTCA($table);
|
||
if (!isset($GLOBALS['TCA'][$table]['ctrl']['transOrigPointerField'])) {
|
||
// No column available for translation
|
||
return;
|
||
}
|
||
$l10nRecords = t3lib_BEfunc::getRecordsByField($table, $GLOBALS['TCA'][$table]['ctrl']['transOrigPointerField'], $uid);
|
||
if (is_array($l10nRecords)) {
|
||
foreach ($l10nRecords as $record) {
|