Fixed bug #15686: Call the list module through the dispatcher instead directly (Thank...
[Packages/TYPO3.CMS.git] / typo3 / db_new.php
index 93c5e42..4530802 100644 (file)
@@ -328,10 +328,12 @@ class SC_db_new {
 
                                // Record list
                                // 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')
                        );
                }