Fixed bug #11920: Follow-up to feature #6872: TCEforms suggest gives no results with...
authorRupert Germann <rupi@gmx.li>
Sat, 12 Sep 2009 07:13:33 +0000 (07:13 +0000)
committerRupert Germann <rupi@gmx.li>
Sat, 12 Sep 2009 07:13:33 +0000 (07:13 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@5916 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
t3lib/tceforms/class.t3lib_tceforms_suggest.php

index c342551..7972a9b 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2009-09-12  Rupert Germann  <rupi@gmx.li>
+
+       * Fixed bug #11920: Follow-up to feature #6872: TCEforms suggest gives no results with custom TSconfig (thanks to Andreas Wolf)
+
 2009-09-11  Rupert Germann  <rupi@gmx.li>
 
        * Fixed bug #11925: Follow-up to feature #6872: TCEforms suggest fails with PHP fatal error (thanks to Steffen Gebert)
index da11d2e..4ab48f8 100644 (file)
@@ -145,7 +145,7 @@ class t3lib_TCEforms_Suggest {
                        if (!is_array($GLOBALS['TCA'][$queryTable]) || !count($GLOBALS['TCA'][$queryTable])) {
                                continue;
                        }
-                       $config = $wizardConfig['default'];
+                       $config = (array)$wizardConfig['default'];
 
                        if (is_array($wizardConfig[$queryTable])) {
                                $config = t3lib_div::array_merge_recursive_overrule($config, $wizardConfig[$queryTable]);