From 5c3209245f269ccad59331d0daa167d5c1a7296a Mon Sep 17 00:00:00 2001 From: CiviCRM Date: Tue, 7 Oct 2014 19:54:22 +0530 Subject: [PATCH] CRM-15372 :patch to fix fee amount replacing amount --- CRM/Event/Form/Participant.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CRM/Event/Form/Participant.php b/CRM/Event/Form/Participant.php index c64aaac158..3bb12477b1 100644 --- a/CRM/Event/Form/Participant.php +++ b/CRM/Event/Form/Participant.php @@ -1287,6 +1287,10 @@ class CRM_Event_Form_Participant extends CRM_Contact_Form_Task { $this->_params['role_id'] ); } + + //CRM-15372 patch to fix fee amount replacing amount + $this->_params['fee_amount'] = $this->_params['amount']; + $participants[] = CRM_Event_Form_Registration::addParticipant($this, $contactID); //add custom data for participant -- 2.25.1