From: monishdeb Date: Fri, 13 Feb 2015 11:36:41 +0000 (+0530) Subject: CRM-15964 fix - Tabbed custom data for contact subtypes don't save X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=04ffab41c80bcadb3004950ab8363e014f6e8c52;p=civicrm-core.git CRM-15964 fix - Tabbed custom data for contact subtypes don't save https://issues.civicrm.org/jira/browse/CRM-15964 --- diff --git a/CRM/Contact/Form/CustomData.php b/CRM/Contact/Form/CustomData.php index c090fbc378..80e8abfcee 100644 --- a/CRM/Contact/Form/CustomData.php +++ b/CRM/Contact/Form/CustomData.php @@ -163,7 +163,7 @@ class CRM_Contact_Form_CustomData extends CRM_Core_Form { // when custom data is included in this page if (!empty($_POST['hidden_custom'])) { for ($i = 0; $i <= $_POST['hidden_custom_group_count'][$this->_groupID]; $i++) { - CRM_Custom_Form_CustomData::preProcess($this, NULL, NULL, $i); + CRM_Custom_Form_CustomData::preProcess($this, NULL, $this->_contactSubType, $i); CRM_Custom_Form_CustomData::buildQuickForm($this); CRM_Custom_Form_CustomData::setDefaultValues($this); }