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:
c1ff89f
)
Fix display of fee_level on Transfer Participant
author
larssandergreen
<lars@wildsight.ca>
Sun, 28 May 2023 06:46:53 +0000
(
00:46
-0600)
committer
larssandergreen
<lars@wildsight.ca>
Sun, 28 May 2023 06:46:53 +0000
(
00:46
-0600)
CRM/Event/BAO/Participant.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Event/BAO/Participant.php
b/CRM/Event/BAO/Participant.php
index a060c034bacd79693b6f98abf3b7ff0b97c76b8a..6c0b74dc0c2a904882e60c8b0f164a3317a8735e 100644
(file)
--- a/
CRM/Event/BAO/Participant.php
+++ b/
CRM/Event/BAO/Participant.php
@@
-1843,7
+1843,7
@@
WHERE civicrm_participant.contact_id = {$contactID} AND
$details['eligible'] = TRUE;
$details['status'] = $dao->status;
$details['role'] = $dao->role;
- $details['fee_level'] =
trim(($dao->fee_level ?? ''), CRM_Core_DAO::VALUE_SEPARATOR)
;
+ $details['fee_level'] =
$dao->fee_level ? implode('<br>', CRM_Core_DAO::unSerializeField($dao->fee_level, CRM_Core_DAO::SERIALIZE_SEPARATOR_BOOKEND)) : NULL
;
$details['fee_amount'] = $dao->fee_amount;
$details['register_date'] = $dao->register_date;
$details['event_start_date'] = $dao->start_date;