Fixed bug #7855: IRRE doesn't save collapse/expand state of nested IRRE records
authorBenni Mack <benni.mack@typo3.org>
Sat, 13 Nov 2010 17:05:43 +0000 (17:05 +0000)
committerBenni Mack <benni.mack@typo3.org>
Sat, 13 Nov 2010 17:05:43 +0000 (17:05 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/branches/TYPO3_4-4@9370 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
t3lib/class.t3lib_tceforms_inline.php

index 89db520..5a4db83 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,6 @@
 2010-11-13  Benjamin Mack  <benni@typo3.org>
 
+       * Fixed bug #7855: IRRE doesn't save collapse/expand state of nested IRRE records
        * Fixed bug #9508: Workspace preview link should work in multidomain-environments (Thanks to Michael Klapper)
 
 2010-11-12  Ernesto Baschny  <ernst@cron-it.de>
index 390e180..543e96f 100644 (file)
@@ -1420,7 +1420,7 @@ class t3lib_TCEforms_inline {
 
                                // save states back to database
                        if (is_array($inlineViewCurrent[$current['table']])) {
-                               $inlineViewCurrent = array_unique($inlineViewCurrent);
+                               $inlineViewCurrent[$current['table']] = array_unique($inlineViewCurrent[$current['table']]);
                                $GLOBALS['BE_USER']->uc['inlineView'] = serialize($inlineView);
                                $GLOBALS['BE_USER']->writeUC();
                        }