From c3a6336937cd6b162daee5e5e6cff855a3b68b1b Mon Sep 17 00:00:00 2001 From: Steffen Kamper Date: Sat, 7 Mar 2009 09:36:21 +0000 Subject: [PATCH] Fixed Bug: #2859: followUp - add BACK_PATH to listUrl in list module git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@5135 709f56b5-9817-0410-a4d7-c38de5d9e867 --- ChangeLog | 4 ++++ typo3/class.db_list.inc | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 7d3b89d5b8d0..4b76e00006fa 100755 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2009-03-07 Steffen Kamper + + * Fixed Bug: #2859: followUp - add BACK_PATH to listUrl in list module + 2009-03-06 Jeff Segars * Fixed bug #5822: Indexed Search section menu includes pages with "hide in menu" flag (thanks to Andy Grunwald) diff --git a/typo3/class.db_list.inc b/typo3/class.db_list.inc index a2f37a040081..7b1c9c58fabe 100755 --- a/typo3/class.db_list.inc +++ b/typo3/class.db_list.inc @@ -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 +?> -- 2.20.1