Project

General

Profile

Bug #20342 » 10958.patch

Administrator Admin, 2010-04-10 10:04

View differences:

typo3/alt_doc.php (working copy)
$fetchFields = 'uid,'.$languageField.','.$transOrigPointerField;
// get record in current language
$rowCurrent = t3lib_befunc::getRecord($table, $uid, $fetchFields);
$rowCurrent = t3lib_befunc::getLiveVersionOfRecord($table, $uid, $fetchFields);
$currentLanguage = $rowCurrent[$languageField];
if ($currentLanguage>-1) { // Disabled for records with [all] language!
(2-2/3)