From 04ffab41c80bcadb3004950ab8363e014f6e8c52 Mon Sep 17 00:00:00 2001 From: monishdeb Date: Fri, 13 Feb 2015 17:06:41 +0530 Subject: [PATCH] CRM-15964 fix - Tabbed custom data for contact subtypes don't save https://issues.civicrm.org/jira/browse/CRM-15964 --- CRM/Contact/Form/CustomData.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- 2.25.1