[CLEANUP] Fix TCA tree the same as in TYPO3_4-5
[Packages/TYPO3.CMS.git] / t3lib / tceforms / class.t3lib_tceforms_tree.php
index cb201bf..d20b389 100644 (file)
@@ -66,7 +66,7 @@ class t3lib_TCEforms_Tree {
                $valueArray = array();
                $selectedNodes = array();
 
-               if($PA['itemFormElValue'] != 0) {
+               if(!empty($PA['itemFormElValue'])) {
                        $valueArray = explode(',', $PA['itemFormElValue']);
                }