Fixed bug #15686: Call the list module through the dispatcher instead directly (Thank...
[Packages/TYPO3.CMS.git] / typo3 / sysext / cms / layout / db_layout.php
index b442a21..dbef98e 100755 (executable)
@@ -1247,10 +1247,12 @@ class SC_db_layout {
                }
 
                        // 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')
                );
 
                if (!$this->modTSconfig['properties']['disableIconToolbar'])    {