CRM-15372 :patch to fix fee amount replacing amount
authorCiviCRM <info@civicrm.org>
Tue, 7 Oct 2014 14:24:22 +0000 (19:54 +0530)
committerCiviCRM <info@civicrm.org>
Tue, 7 Oct 2014 14:24:22 +0000 (19:54 +0530)
CRM/Event/Form/Participant.php

index c64aaac15889ce54babd0208e8ded1fe8191473c..3bb12477b11ca6807ec87b04e7e1954212fb4400 100644 (file)
@@ -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