Fixed bug: Overriding TCA properties with TSconfig does not work with array
authorOliver Hader <oliver.hader@typo3.org>
Sun, 27 Jan 2008 19:49:07 +0000 (19:49 +0000)
committerOliver Hader <oliver.hader@typo3.org>
Sun, 27 Jan 2008 19:49:07 +0000 (19:49 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@2973 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
t3lib/class.t3lib_tceforms.php

index 1a64652..59561a5 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2008-01-27  Oliver Hader  <oh@inpublica.de>
+
+       * (minor) Fixed bug: Overriding TCA properties with TSconfig does not work with array
+
 2008-01-26  Stanislas Rolland  <stanislas.rolland@fructifor.ca>
 
        * Bug #2547: Properties of images are not saved due to RTE transformation
index 03690a9..06b395b 100755 (executable)
@@ -2966,7 +2966,7 @@ class t3lib_TCEforms      {
                                }
                                        // Override TCA field config by remaining TSconfig['config']:
                                if (count($TSconfig['config'])) {
-                                       $fieldConfig = array_merge($fieldConfig, $TSconfig['config']);
+                                       $fieldConfig = t3lib_div::array_merge_recursive_overrule($fieldConfig, $TSconfig['config']);
                                }
                        }
                }