Fix broken event message template preview
authorEileen McNaughton <emcnaughton@wikimedia.org>
Mon, 19 Jun 2023 00:57:23 +0000 (12:57 +1200)
committerEileen McNaughton <emcnaughton@wikimedia.org>
Mon, 19 Jun 2023 00:57:23 +0000 (12:57 +1200)
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)

CRM/Event/WorkflowMessage/EventOnlineReceipt.php

index d17591cc9a2a19e2eaa7b553d7b1b5402ec87967..26e8ca531fb3021b2c284b92322ec049e6d83100 100644 (file)
@@ -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';
 
 }