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:
ad3d11f
)
Fix for dev/core#2447: wrong event fee stored
author
Jaap Jansma
<jaap.jansma@civicoop.org>
Mon, 15 Mar 2021 16:25:31 +0000
(17:25 +0100)
committer
Jaap Jansma
<jaap.jansma@civicoop.org>
Mon, 15 Mar 2021 16:25:31 +0000
(17:25 +0100)
CRM/Event/BAO/Participant.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Event/BAO/Participant.php
b/CRM/Event/BAO/Participant.php
index d287f8fb9d97b2118780eceee1f3729c91fe79ec..5c719c7964cd384e217f1477985de507113a8c7c 100644
(file)
--- a/
CRM/Event/BAO/Participant.php
+++ b/
CRM/Event/BAO/Participant.php
@@
-80,10
+80,6
@@
class CRM_Event_BAO_Participant extends CRM_Event_DAO_Participant {
$params['participant_fee_amount'] = CRM_Utils_Rule::cleanMoney($params['participant_fee_amount']);
}
- if (!empty($params['fee_amount'])) {
- $params['fee_amount'] = CRM_Utils_Rule::cleanMoney($params['fee_amount']);
- }
-
// ensure that role ids are encoded as a string
if (isset($params['role_id']) && is_array($params['role_id'])) {
if (in_array(key($params['role_id']), CRM_Core_DAO::acceptedSQLOperators(), TRUE)) {