[BUGFIX] FormEngine exception and warning creating new record
[Packages/TYPO3.CMS.git] / typo3 / sysext / backend / Classes / Form / Container / FlexFormElementContainer.php
index a2b4dc5..e6b7316 100644 (file)
@@ -75,7 +75,7 @@ class FlexFormElementContainer extends AbstractContainer {
 
                                $options = $this->globalOptions;
                                $options['flexFormDataStructureArray'] = $flexFormFieldArray['el'];
-                               $options['flexFormRowData'] = $flexFormRowData[$flexFormFieldName]['el'];
+                               $options['flexFormRowData'] = is_array($flexFormRowData[$flexFormFieldName]['el']) ? $flexFormRowData[$flexFormFieldName]['el'] : array();
                                $options['flexFormSectionType'] = $flexFormFieldName;
                                $options['flexFormSectionTitle'] = $sectionTitle;
                                /** @var FlexFormSectionContainer $sectionContainer */