Fixed Bug: #2859: followUp - add BACK_PATH to listUrl in list module
[Packages/TYPO3.CMS.git] / typo3 / class.db_list.inc
index a2f37a0..7b1c9c5 100755 (executable)
@@ -664,7 +664,7 @@ class recordList extends t3lib_recordList {
         * @return      string          URL
         */
        function listURL($altId='',$table=-1,$exclList='')      {
-               return $this->script.
+               return $GLOBALS['BACK_PATH'] . $this->script.
                        '?id='.(strcmp($altId,'')?$altId:$this->id).
                        '&table='.rawurlencode($table==-1?$this->table:$table).
                        ($this->thumbs?'&imagemode='.$this->thumbs:'').
@@ -801,4 +801,4 @@ if (defined('TYPO3_MODE') && $TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['typo3/class
        include_once($TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['typo3/class.db_list.inc']);
 }
 
-?>
\ No newline at end of file
+?>