From 9d3ab86f1456712a77f9c643a2cf8cfd584593f6 Mon Sep 17 00:00:00 2001 From: Rupert Germann Date: Tue, 1 Sep 2009 18:38:24 +0000 Subject: [PATCH] Fixed bug #9049: Page ID is always 0 in export module for impexp (thanks to Christian Kuhn) git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@5874 709f56b5-9817-0410-a4d7-c38de5d9e867 --- ChangeLog | 6 +++++- typo3/class.db_list_extra.inc | 2 +- typo3/sysext/impexp/class.tx_impexp_clickmenu.php | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index f113e907a8f..9ab8d4ef205 100755 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2009-09-01 Rupert Germann + + * Fixed bug #9049: Page ID is always 0 in export module for impexp (thanks to Christian Kuhn) + 2009-09-01 Oliver Hader * Follow-up to feature #9292: Fixed wrong disposal of global variables (thanks to Christian Kuhn) @@ -10,7 +14,7 @@ 2009-09-01 Sebastian Kurfuerst * Raised extbase and fluid versions from 844 to 1181 (and pointing to a tag now instead of a revision) - * Changed sysext dbal to svn:externals. Thanks to Andreas Wolf for converting the Repositories! + * Changed sysext dbal to svn:externals. Thanks to Andreas Wolf for converting the Repositories! 2009-09-01 Christian Kuhn diff --git a/typo3/class.db_list_extra.inc b/typo3/class.db_list_extra.inc index f6263965322..08f9e8cc166 100644 --- a/typo3/class.db_list_extra.inc +++ b/typo3/class.db_list_extra.inc @@ -245,7 +245,7 @@ class localRecordList extends recordList { // Export if (t3lib_extMgm::isLoaded('impexp')) { - $buttons['export'] = '' . + $buttons['export'] = '' . 'backPath, t3lib_extMgm::extRelPath('impexp') . 'export.gif') . ' title="' . $LANG->sL('LLL:EXT:lang/locallang_core.php:rm.export', 1) . '" alt="" />' . ''; } diff --git a/typo3/sysext/impexp/class.tx_impexp_clickmenu.php b/typo3/sysext/impexp/class.tx_impexp_clickmenu.php index 0ea9807efa8..7adaf8d591c 100755 --- a/typo3/sysext/impexp/class.tx_impexp_clickmenu.php +++ b/typo3/sysext/impexp/class.tx_impexp_clickmenu.php @@ -84,7 +84,7 @@ class tx_impexp_clickmenu { $LL = $this->includeLL(); - $url = 'mod.php?M=xMOD_tximpexp&tx_impexp[action]=export'; + $url = 'mod.php?M=xMOD_tximpexp&tx_impexp[action]=export&id=' . ($table == 'pages' ? $uid : $backRef->rec['pid']); if ($table=='pages') { $url.='&tx_impexp[pagetree][id]='.$uid; $url.='&tx_impexp[pagetree][levels]=0'; -- 2.20.1