[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:
Bjoern Pedersen 2011-03-07 11:12:08 +01:00 committed by Andreas Wolf
parent 0bc3c92e9b
commit 994ee13528

View file

@ -353,6 +353,7 @@ class tx_feedit_editpanel {
*/ */
protected function editContent($formTag, $formName, $theCmd, $newUID, array $dataArray, $table, $currentRecord, $blackLine) { protected function editContent($formTag, $formName, $theCmd, $newUID, array $dataArray, $table, $currentRecord, $blackLine) {
$tceforms = t3lib_div::makeInstance('t3lib_TCEforms_FE'); $tceforms = t3lib_div::makeInstance('t3lib_TCEforms_FE');
$tceforms->initDefaultBEMode();
$tceforms->prependFormFieldNames = 'TSFE_EDIT[data]'; $tceforms->prependFormFieldNames = 'TSFE_EDIT[data]';
$tceforms->prependFormFieldNames_file = 'TSFE_EDIT_file'; $tceforms->prependFormFieldNames_file = 'TSFE_EDIT_file';
$tceforms->doSaveFieldName = 'TSFE_EDIT[doSave]'; $tceforms->doSaveFieldName = 'TSFE_EDIT[doSave]';