From: Martin Kutschker Date: Sun, 17 Feb 2008 19:57:24 +0000 (+0000) Subject: Fixed bug #5639: options.additionalPreviewLanguages is showing wrong records for... X-Git-Tag: TYPO3_4-2-0beta2~55 X-Git-Url: http://git.typo3.org/Packages/TYPO3.CMS.git/commitdiff_plain/0a4816471def233beebda1e54040a3d7bd93aa2e Fixed bug #5639: options.additionalPreviewLanguages is showing wrong records for table pages (tanks to Helmut Hummel) git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@3197 709f56b5-9817-0410-a4d7-c38de5d9e867 --- diff --git a/ChangeLog b/ChangeLog index f143857cd87..8e0f5b3b51d 100755 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ + +2008-02-17 Martin Kutschker + + * Fixed bug #5639: options.additionalPreviewLanguages is showing wrong records for table pages (tanks to Helmut Hummel) + 2008-02-17 Patrick Broens * Fixed Bug #7429: Docheaders: Module Web > Page : No docheader when no page has been chosen diff --git a/t3lib/class.t3lib_tceforms.php b/t3lib/class.t3lib_tceforms.php index d9e23eb8ed2..e39ed635d8f 100755 --- a/t3lib/class.t3lib_tceforms.php +++ b/t3lib/class.t3lib_tceforms.php @@ -3110,7 +3110,7 @@ class t3lib_TCEforms { $t8Tools = t3lib_div::makeInstance('t3lib_transl8tools'); $tInfo = $t8Tools->translationInfo($lookUpTable,intval($rec[$TCA[$table]['ctrl']['transOrigPointerField']]),$prL['uid']); if (is_array($tInfo['translations'][$prL['uid']])) { - $this->additionalPreviewLanguageData[$table.':'.$rec['uid']][$prL['uid']] = t3lib_BEfunc::getRecordWSOL($lookUpTable, intval($tInfo['translations'][$prL['uid']]['uid'])); + $this->additionalPreviewLanguageData[$table.':'.$rec['uid']][$prL['uid']] = t3lib_BEfunc::getRecordWSOL($table, intval($tInfo['translations'][$prL['uid']]['uid'])); } } }