Fixed bug #5639: options.additionalPreviewLanguages is showing wrong records for...
authorMartin Kutschker <martin.t.kutschker@blackbox.net>
Sun, 17 Feb 2008 19:57:24 +0000 (19:57 +0000)
committerMartin Kutschker <martin.t.kutschker@blackbox.net>
Sun, 17 Feb 2008 19:57:24 +0000 (19:57 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@3197 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
t3lib/class.t3lib_tceforms.php

index f143857..8e0f5b3 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+
+2008-02-17  Martin Kutschker  <martin.t.kutschker@blackbox.net>
+
+       * Fixed bug #5639: options.additionalPreviewLanguages is showing wrong records for table pages (tanks to Helmut Hummel)
+
 2008-02-17  Patrick Broens  <patrick@patrickbroens.nl>
 
        * Fixed Bug #7429: Docheaders: Module Web > Page : No docheader when no page has been chosen
index d9e23eb..e39ed63 100755 (executable)
@@ -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']));
                                }
                        }
                }