From: CiviCRM Date: Tue, 7 Oct 2014 14:24:22 +0000 (+0530) Subject: CRM-15372 :patch to fix fee amount replacing amount X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=5c3209245f269ccad59331d0daa167d5c1a7296a;p=civicrm-core.git CRM-15372 :patch to fix fee amount replacing amount --- 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