CRM-18677 - Bugs with multivalued custom data displayed Inline.
authorjitendrapurohit <jitendra.purohit@webaccessglobal.com>
Wed, 25 May 2016 12:50:39 +0000 (18:20 +0530)
committerjitendrapurohit <jitendra.purohit@webaccessglobal.com>
Wed, 25 May 2016 12:50:39 +0000 (18:20 +0530)
CRM/Contact/Form/Contact.php

index 40187f08ba266c1c772af4d042297a71108e28a8..8407b12c6731322af2d162294994a22d421d7c49 100644 (file)
@@ -355,7 +355,7 @@ class CRM_Contact_Form_Contact extends CRM_Core_Form {
           //loop the group
           for ($i = 0; $i <= $groupCount; $i++) {
             CRM_Custom_Form_CustomData::preProcess($this, NULL, $contactSubType,
-              $i, $this->_contactType
+              $i, $this->_contactType, $this->_contactId
             );
             CRM_Contact_Form_Edit_CustomData::buildQuickForm($this);
           }