Unverified Commit c7c50ae4 authored by Seamus Lee's avatar Seamus Lee Committed by GitHub

Merge pull request #16087 from seamuslee001/deb_core_1467

#1467 - Multiple participant registration sends only p1 amoun…
parents 1a39ad7c 2fda3ece
......@@ -703,8 +703,11 @@ class CRM_Event_Form_Registration extends CRM_Core_Form {
// CRM-10032
$this->processFirstParticipant($participant->id);
}
$this->_params['participantID'] = $participant->id;
$this->set('primaryParticipant', $this->_params);
if (!empty($this->_params['is_primary'])) {
$this->_params['participantID'] = $participant->id;
$this->set('primaryParticipant', $this->_params);
}
CRM_Core_BAO_CustomValueTable::postProcess($this->_params,
'civicrm_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