Index: typo3/sysext/feedit/view/class.tx_feedit_editpanel.php
===================================================================
--- typo3/sysext/feedit/view/class.tx_feedit_editpanel.php (revision 7568)
+++ typo3/sysext/feedit/view/class.tx_feedit_editpanel.php (working copy)
@@ -110,9 +110,9 @@
}
if (isset($allow['new'])) {
if ($table == 'pages') {
- $panel .= $this->editPanelLinkWrap('', $formName, 'new', $currentRecord, '', $nPid);
+ $panel .= $this->editPanelLinkWrap('', $formName, 'new', $currentRecord, '', $newUID);
} 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