Unverified Commit 5867d446 authored by Eileen McNaughton's avatar Eileen McNaughton Committed by GitHub

Merge pull request #14816 from mlutfy/event8

event#8 Event Cart: save Participant custom field data
parents 18ec4fe5 adf6c004
......@@ -301,6 +301,12 @@ class CRM_Event_Cart_Form_Checkout_ParticipantsAndPrices extends CRM_Event_Cart_
$custom_fields = array_merge($participant->get_form()->get_participant_custom_data_fields());
CRM_Contact_BAO_Contact::createProfileContact($this->_submitValues['field'][$participant_id], $custom_fields, $contact_id);
CRM_Core_BAO_CustomValueTable::postProcess($this->_submitValues['field'][$participant_id],
'civicrm_participant',
$participant_id,
'Participant'
);
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment