CRM-17839 -- unable to edit custom data in tab if inline set already exists
authorjitendrapurohit <jitendra.purohit@webaccessglobal.com>
Fri, 22 Jan 2016 06:18:23 +0000 (11:48 +0530)
committerjitendrapurohit <jitendra.purohit@webaccessglobal.com>
Fri, 22 Jan 2016 06:18:23 +0000 (11:48 +0530)
CRM/Custom/Form/CustomDataByType.php

index 6d8d46214be0410ff5184087f9cce05488fbf548..82f27b68896ef55c5a62b46ad8149ec8b90e3646 100644 (file)
@@ -53,7 +53,7 @@ class CRM_Custom_Form_CustomDataByType extends CRM_Core_Form {
     if (!is_array($this->_subType) && strstr($this->_subType, CRM_Core_DAO::VALUE_SEPARATOR)) {
       $this->_subType = str_replace(CRM_Core_DAO::VALUE_SEPARATOR, ',', trim($this->_subType, CRM_Core_DAO::VALUE_SEPARATOR));
     }
-    CRM_Custom_Form_CustomData::setGroupTree($this, $this->_subType, NULL, $this->_groupID);
+    CRM_Custom_Form_CustomData::setGroupTree($this, $this->_subType, $this->_groupID);
 
     $this->assign('suppressForm', TRUE);
     $this->controller->_generateQFKey = FALSE;