From f437aa002085a67187ea0c3880e56ad01c0019bc Mon Sep 17 00:00:00 2001 From: Benni Mack Date: Sun, 19 Sep 2010 14:24:39 +0000 Subject: [PATCH] Fixed bug #12964: feedit - EDITPANEL -> "newRecordinPid" doesn't work anymore with feedit git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@8819 709f56b5-9817-0410-a4d7-c38de5d9e867 --- view/class.tx_feedit_editpanel.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/view/class.tx_feedit_editpanel.php b/view/class.tx_feedit_editpanel.php index 68c5ff2..d33f3be 100644 --- a/view/class.tx_feedit_editpanel.php +++ b/view/class.tx_feedit_editpanel.php @@ -110,9 +110,9 @@ class tx_feedit_editpanel { } if (isset($allow['new'])) { if ($table == 'pages') { - $panel .= $this->editPanelLinkWrap('', $formName, 'new', $currentRecord, '', $nPid); + $panel .= $this->editPanelLinkWrap('', $formName, 'new', $currentRecord, ''); } else { - $panel .= $this->editPanelLinkWrap('', $formName, 'new', $currentRecord, '', $nPid); + $panel .= $this->editPanelLinkWrap('', $formName, 'new', $currentRecord, '', $newUID); } } // Hiding in workspaces because implementation is incomplete, Hiding for localizations because it is unknown what should be the function in that case