From: yashodha Date: Wed, 21 Oct 2015 09:55:38 +0000 (+0530) Subject: CRM-16990: Custom fields are NOT being saved for some component custom data (activiti... X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=96e149dd60fb394050e688cea5d5a9127707e07f;p=civicrm-core.git CRM-16990: Custom fields are NOT being saved for some component custom data (activities, membership ...) ---------------------------------------- * CRM-16990: Custom fields are NOT being saved for some component custom data (activities, membership ...) https://issues.civicrm.org/jira/browse/CRM-16990 --- diff --git a/CRM/Case/Form/Case.php b/CRM/Case/Form/Case.php index 22b9875ebc..392aaadaf2 100644 --- a/CRM/Case/Form/Case.php +++ b/CRM/Case/Form/Case.php @@ -181,7 +181,7 @@ class CRM_Case_Form_Case extends CRM_Core_Form { // for case custom fields to populate with defaults if (!empty($_POST['hidden_custom'])) { - CRM_Custom_Form_CustomData::preProcess($this); + CRM_Custom_Form_CustomData::preProcess($this, NULL, $this->_caseTypeId, 1, 'Case', $this->_caseId); CRM_Custom_Form_CustomData::buildQuickForm($this); }