From: yashodha Date: Wed, 21 Oct 2015 10:18:21 +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=f19dc4680080cd8455395dd9d80f2312acfee12b;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/Event/Form/ManageEvent/EventInfo.php b/CRM/Event/Form/ManageEvent/EventInfo.php index fa5f6ab075..98f9faa27c 100644 --- a/CRM/Event/Form/ManageEvent/EventInfo.php +++ b/CRM/Event/Form/ManageEvent/EventInfo.php @@ -71,7 +71,7 @@ class CRM_Event_Form_ManageEvent_EventInfo extends CRM_Event_Form_ManageEvent { $this->set('subType', CRM_Utils_Array::value('event_type_id', $_POST)); $this->set('entityId', $this->_id); - CRM_Custom_Form_CustomData::preProcess($this, NULL, $this->_id, 1, 'Event'); + CRM_Custom_Form_CustomData::preProcess($this, NULL, $this->_eventType, 1, 'Event', $this->_id); CRM_Custom_Form_CustomData::buildQuickForm($this); CRM_Custom_Form_CustomData::setDefaultValues($this); }