projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
210b1b3
)
CRM-21813 : Parameter list mismatch (#11734)
author
Aniessh Sethh
<aniesshsethh@gmail.com>
Wed, 7 Mar 2018 03:30:53 +0000
(09:00 +0530)
committer
Eileen McNaughton
<eileen@mcnaughty.com>
Wed, 7 Mar 2018 03:30:53 +0000
(16:30 +1300)
* Fix for CRM-21813
CRM/Event/BAO/Participant.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Event/BAO/Participant.php
b/CRM/Event/BAO/Participant.php
index 23e47ecf9bde388ad1518bca6db30bc7a7ea94d6..1a8edcc2a9f2e7b97cf51262790009187b35707c 100644
(file)
--- 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.
*/
* @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'];
$financialTypeID = $contributionParams['contribution']->financial_type_id;
$total_amount = $contributionParams['total_amount'];