Fixed bug #8060: preview in clickmenu of list-module on tt_content records broken
authorIngo Renner <ingo.renner@typo3.org>
Wed, 16 Apr 2008 07:07:08 +0000 (07:07 +0000)
committerIngo Renner <ingo.renner@typo3.org>
Wed, 16 Apr 2008 07:07:08 +0000 (07:07 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@3571 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/alt_clickmenu.php

index 5667141..2c70a76 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,7 @@
 
        * Fixed bug #8001: Problems using link wizard in content elements, credits Ralf Hettinger
        * Marked typo3/alt_main.php as deprecated
+       * Fixed bug #8060: preview in clickmenu of list-module on tt_content records broken
 
 2008-04-15  Benjamin Mack  <benni@typo3.org>
 
index 9e4e7f7..bc5ac4a 100755 (executable)
@@ -278,7 +278,7 @@ class clickMenu {
                        if (!in_array('view',$this->disabledItems))     {
                                if ($table=='pages')    $menuItems['view']=$this->DB_view($uid);
                                if ($table==$GLOBALS['TYPO3_CONF_VARS']['SYS']['contentTable']) {
-                                       $ws_rec = t3lib_BEfunc::getRecordWSOL($table,$this->rec['t3ver_oid']);
+                                       $ws_rec = t3lib_BEfunc::getRecordWSOL($table, $this->rec['uid']);
                                        $menuItems['view']=$this->DB_view($ws_rec['pid']);
                                }
                        }