Bugfix for: hide empty dynTabs (missing array key broke RTE after hidden Tabs)
[Packages/TYPO3.CMS.git] / t3lib / class.t3lib_tceforms.php
index d091051..1504454 100755 (executable)
@@ -642,7 +642,7 @@ class t3lib_TCEforms        {
                        foreach ($out_array as $idx => $sheetContent)   {
                                $resstr = implode('', $sheetContent);
                                if ($resstr) {
-                                       $parts[] = array(
+                                       $parts[$idx] = array(
                                                'label' => $out_array_meta[$idx]['title'],
                                                'content' => '<table border="0" cellspacing="0" cellpadding="0" width="100%">'.
                                                                $resstr.