Actions
Bug #21817
closedEDITPANEL -> "newRecordinPid" doesn't work anymore with feedit
Start date:
2009-12-07
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
4.3
PHP Version:
5.2
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
the following script is not completely possible
page.1 = EDITPANEL
page.1{
allow = new
newRecordFromTable = tt_content
label = Neue Veranstaltung anlegen
newRecordInPid = 46
}
the record is always created on $GLOBALS['TSFE']->id
the problem is located in sysext/feedit/view/class.tx_feedit_editpanel.php in function editPanel().
the value of "newRecordInPid" is commit in var $newUID to the function.
but later in the function it's used as $nPid()
Solution: rename $nPid to $newUID
(issue imported from #M12964)
Files
Actions