Commit adf6c004 authored by bgm's avatar bgm Committed by bgm

event#8 Event Cart: save Participant custom field data

parent d82acabe
......@@ -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