Add check for deprecated token in event online receipt
authorJon Goldberg <jon@megaphonetech.com>
Mon, 6 Nov 2023 20:28:45 +0000 (15:28 -0500)
committerJon Goldberg <jon@megaphonetech.com>
Mon, 6 Nov 2023 20:33:24 +0000 (15:33 -0500)
CRM/Utils/Token.php

index 7cd3bf0c38e7849c609073b8a63b928213f7cc92..b7373b897a2214099c4fc714cc5055fcdf27e2d9 100644 (file)
@@ -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'),