From 9a05ea5249f290bd92f813cfdb301b03b8186007 Mon Sep 17 00:00:00 2001 From: Aniessh Sethh Date: Wed, 7 Mar 2018 09:00:53 +0530 Subject: [PATCH] CRM-21813 : Parameter list mismatch (#11734) * Fix for CRM-21813 --- CRM/Event/BAO/Participant.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Event/BAO/Participant.php b/CRM/Event/BAO/Participant.php index 23e47ecf9b..1a8edcc2a9 100644 --- a/CRM/Event/BAO/Participant.php +++ b/CRM/Event/BAO/Participant.php @@ -1845,7 +1845,7 @@ WHERE civicrm_participant.contact_id = {$contactID} AND * @param int $discountedPriceFieldOptionID * ID of the civicrm_price_field_value field for the discount id. */ - public static function createDiscountTrxn($eventID, $contributionParams, $feeLevel, $discountedPriceFieldOptionID) { + public static function createDiscountTrxn($eventID, $contributionParams, $feeLevel, $discountedPriceFieldOptionID = NULL) { $financialTypeID = $contributionParams['contribution']->financial_type_id; $total_amount = $contributionParams['total_amount']; -- 2.25.1