From 994ee135286a8b703547afb53c84661806a61cb7 Mon Sep 17 00:00:00 2001 From: Bjoern Pedersen Date: Mon, 7 Mar 2011 11:12:08 +0100 Subject: [PATCH] [BUGFIX] Missing initialization of DefaultBEMode in feedit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Tested-by: Andreas Wolf Reviewed-by: Andreas Wolf --- view/class.tx_feedit_editpanel.php | 1 + 1 file changed, 1 insertion(+) diff --git a/view/class.tx_feedit_editpanel.php b/view/class.tx_feedit_editpanel.php index 0042e9c..1cfb27a 100644 --- a/view/class.tx_feedit_editpanel.php +++ b/view/class.tx_feedit_editpanel.php @@ -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]';