projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
CRM-21813 : Parameter list mismatch (#11734)
[civicrm-core.git]
/
CRM
/
Event
/
BAO
/
Participant.php
diff --git
a/CRM/Event/BAO/Participant.php
b/CRM/Event/BAO/Participant.php
index 29ee23386594138f694202a49d2e9509adad6ea7..1a8edcc2a9f2e7b97cf51262790009187b35707c 100644
(file)
--- a/
CRM/Event/BAO/Participant.php
+++ b/
CRM/Event/BAO/Participant.php
@@
-3,7
+3,7
@@
+--------------------------------------------------------------------+
| CiviCRM version 4.7 |
+--------------------------------------------------------------------+
+--------------------------------------------------------------------+
| CiviCRM version 4.7 |
+--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-201
7
|
+ | Copyright CiviCRM LLC (c) 2004-201
8
|
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
@@
-28,7
+28,7
@@
/**
* @package CRM
/**
* @package CRM
- * @copyright CiviCRM LLC (c) 2004-201
7
+ * @copyright CiviCRM LLC (c) 2004-201
8
*/
class CRM_Event_BAO_Participant extends CRM_Event_DAO_Participant {
*/
class CRM_Event_BAO_Participant extends CRM_Event_DAO_Participant {
@@
-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'];