mirror of
https://github.com/FriendsOfTYPO3/feedit.git
synced 2024-11-22 14:36:08 +01:00
[BUGFIX] Missing initialization of DefaultBEMode in feedit
Formsonopage-mode raises error: Call to undefined method stdClass::getDynNestedStack. Thus call initDefaultBEMode() during initialization. Change-Id: If3ffc4b4fb3aff0dac72f3cbca405cb74d082783 Resolves: #M15553 Reviewed-on: http://review.typo3.org/1078 Reviewed-by: Björn Pedersen <bjoern.pedersen@frm2.tum.de> Tested-by: Andreas Wolf <andreas.wolf@ikt-werk.de> Reviewed-by: Andreas Wolf <andreas.wolf@ikt-werk.de>
This commit is contained in:
parent
0bc3c92e9b
commit
994ee13528
1 changed files with 1 additions and 0 deletions
|
@ -353,6 +353,7 @@ class tx_feedit_editpanel {
|
|||
*/
|
||||
protected function editContent($formTag, $formName, $theCmd, $newUID, array $dataArray, $table, $currentRecord, $blackLine) {
|
||||
$tceforms = t3lib_div::makeInstance('t3lib_TCEforms_FE');
|
||||
$tceforms->initDefaultBEMode();
|
||||
$tceforms->prependFormFieldNames = 'TSFE_EDIT[data]';
|
||||
$tceforms->prependFormFieldNames_file = 'TSFE_EDIT_file';
|
||||
$tceforms->doSaveFieldName = 'TSFE_EDIT[doSave]';
|
||||
|
|
Loading…
Reference in a new issue