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:
86fab64
)
Add check for deprecated token in event online receipt
author
Jon Goldberg
<jon@megaphonetech.com>
Mon, 6 Nov 2023 20:28:45 +0000
(15:28 -0500)
committer
Jon Goldberg
<jon@megaphonetech.com>
Mon, 6 Nov 2023 20:33:24 +0000
(15:33 -0500)
CRM/Utils/Token.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Utils/Token.php
b/CRM/Utils/Token.php
index 7cd3bf0c38e7849c609073b8a63b928213f7cc92..b7373b897a2214099c4fc714cc5055fcdf27e2d9 100644
(file)
--- a/
CRM/Utils/Token.php
+++ b/
CRM/Utils/Token.php
@@
-1798,6
+1798,9
@@
class CRM_Utils_Token {
'$participant_status_id' => 'participant.status_id',
],
+ 'event_online_receipt' => [
+ '`$participant.id`' => 'participant.id',
+ ],
'pledge_acknowledgement' => [
'$domain' => ts('no longer available / relevant'),
'$contact' => ts('no longer available / relevant'),