From: Eileen McNaughton Date: Mon, 19 Jun 2023 00:57:23 +0000 (+1200) Subject: Fix broken event message template preview X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=afb0f98fab81b80990cec7750f16a98e0d65dfd1;p=civicrm-core.git Fix broken event message template preview This is outside most live use cases but it currently fails on an api error due to a mismatch between example data & expectations. It should be fixed in the rc but it might not make sense to back port (or determine breakage further back) --- diff --git a/CRM/Event/WorkflowMessage/EventOnlineReceipt.php b/CRM/Event/WorkflowMessage/EventOnlineReceipt.php index d17591cc9a..26e8ca531f 100644 --- a/CRM/Event/WorkflowMessage/EventOnlineReceipt.php +++ b/CRM/Event/WorkflowMessage/EventOnlineReceipt.php @@ -21,6 +21,7 @@ use Civi\WorkflowMessage\GenericWorkflowMessage; */ class CRM_Event_WorkflowMessage_EventOnlineReceipt extends GenericWorkflowMessage { use CRM_Event_WorkflowMessage_ParticipantTrait; + use CRM_Contribute_WorkflowMessage_ContributionTrait; public const WORKFLOW = 'event_online_receipt'; }