Fixed bug #11832: Versioning - t3lib_extMgm::createListViewLink() function no longer...
authorTolleiv Nietsch <info@tolleiv.de>
Sun, 9 Jan 2011 14:24:55 +0000 (14:24 +0000)
committerTolleiv Nietsch <info@tolleiv.de>
Sun, 9 Jan 2011 14:24:55 +0000 (14:24 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/CoreProjects/workspaces/version/trunk@3686 743128fe-103e-dd11-99c4-001b210b3e58

typo3/sysext/version/ChangeLog
typo3/sysext/version/cm1/index.php

index f44fc6d..e85d050 100644 (file)
@@ -1,5 +1,6 @@
 2011-01-09  Tolleiv Nietsch  <typo3@tolleiv.de>
 
+       * Fixed bug #11832: Versioning - t3lib_extMgm::createListViewLink() function no longer available (Thanks to Mark Johnston)
        * Fixed bug #16786: Generating preview link not working since Update to 4.4.5
 
 2011-01-06  Tolleiv Nietsch  <typo3@tolleiv.de>
index bb47b54..897e3ae 100755 (executable)
@@ -356,11 +356,13 @@ class tx_version_cm1 extends t3lib_SCbase {
                        }
 
                                // If access to Web>List for user, then link to that module.
-                       $buttons['record_list'] = t3lib_extMgm::createListViewLink(
-                               $this->pageinfo['uid'],
-                               '&returnUrl=' . rawurlencode(t3lib_div::getIndpEnv('REQUEST_URI')),
-                               $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:labels.showList', TRUE)
-                       );
+                       $buttons['record_list'] = t3lib_BEfunc::getListViewLink(
+                               array(
+                                       'id' => $this->pageinfo['uid'],
+                                       'returnUrl' => t3lib_div::getIndpEnv('REQUEST_URI'),
+                               ),
+                               $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:labels.showList')
+                       );
                }
                return $buttons;
        }