Fixed bug 3720: Multilanguage Flexforms don't work after migrating a site from one...
authorDmitry Dulepov <dmitry.dulepov@gmail.com>
Thu, 19 Oct 2006 13:53:33 +0000 (13:53 +0000)
committerDmitry Dulepov <dmitry.dulepov@gmail.com>
Thu, 19 Oct 2006 13:53:33 +0000 (13:53 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@1769 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
t3lib/class.t3lib_tceforms.php

index 52e2cb2..c6c2d53 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,7 @@
 2006-10-14  Dmitry Dulepov  <dmitry@typo3.org>
 
        * Fixed bug 3199: SUing to myself?
+       * Fixed bug 3720: Multilanguage Flexforms don't work after migrating a site from one language to more languages
        * Fixed bug 4358: Add an option to t3lib_div::xml2array to remove all unnecessary spaces
 
 2006-10-17  Ernesto Baschny  <ernst@cron-it.de>
index ac1e8b9..ea48c0d 100755 (executable)
@@ -2056,7 +2056,7 @@ class t3lib_TCEforms      {
                        $editData=t3lib_div::xml2array($xmlData);
                        if (!is_array($editData))       {       // Must be XML parsing error...
                                $editData=array();
-                       } elseif (isset($editData['meta']) && !is_array($editData['meta']))     {
+                       } elseif (!isset($editData['meta']) || !is_array($editData['meta']))    {
                            $editData['meta'] = array();
                        }