Bugfix for: hide empty dynTabs (missing array key broke RTE after hidden Tabs)
authorBernhard Kraft <kraftb@think-open.at>
Mon, 1 Oct 2007 12:40:47 +0000 (12:40 +0000)
committerBernhard Kraft <kraftb@think-open.at>
Mon, 1 Oct 2007 12:40:47 +0000 (12:40 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@2530 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
t3lib/class.t3lib_tceforms.php

index 38bf108..8273cfc 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2007-10-01  Bernhard Kraft  <kraftb@kraftb.at>
+
+       * Bugfix for: Hide empty dynTabs in tceforms (missing array key broke RTE after hidden Tabs)
+
 2007-09-28  Oliver Hader  <oh@inpublica.de>
 
        * (feature) Added feature #6367: Integrate possibility in Element Browser to select all files of a folder (thanks to fotobuch.de AG for sponsoring)
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.