From da4b83827af61aced0b39966666499a0dfccb46d Mon Sep 17 00:00:00 2001 From: yashodha Date: Fri, 23 Oct 2015 14:33:00 +0530 Subject: [PATCH] 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 --- CRM/Contact/Form/Relationship.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Contact/Form/Relationship.php b/CRM/Contact/Form/Relationship.php index 2cada5b8d8..0d7c1f6f4a 100644 --- a/CRM/Contact/Form/Relationship.php +++ b/CRM/Contact/Form/Relationship.php @@ -202,7 +202,7 @@ class CRM_Contact_Form_Relationship extends CRM_Core_Form { // when custom data is included in this page if (!empty($_POST['hidden_custom'])) { - CRM_Custom_Form_CustomData::preProcess($this, NULL, $this->_rtype, 1, 'Relationship', $this->_relationshipId); + CRM_Custom_Form_CustomData::preProcess($this, NULL, $this->_relationshipTypeId, 1, 'Relationship', $this->_relationshipId); CRM_Custom_Form_CustomData::buildQuickForm($this); CRM_Custom_Form_CustomData::setDefaultValues($this); } -- 2.25.1