From 2b030fb4961a548b5d54a17dc4a6975141358480 Mon Sep 17 00:00:00 2001 From: Sami Mokaddem Date: Tue, 17 Oct 2023 22:34:57 +0200 Subject: [PATCH] fix: [workflow-module:publish-event] Extend correct class and use event id --- .../WorkflowModules/action/Module_publish_event.php | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/app/Model/WorkflowModules/action/Module_publish_event.php b/app/Model/WorkflowModules/action/Module_publish_event.php index afc86a7a6..1554677db 100644 --- a/app/Model/WorkflowModules/action/Module_publish_event.php +++ b/app/Model/WorkflowModules/action/Module_publish_event.php @@ -1,13 +1,16 @@ getData(); + $event_id = $rData['Event']['id']; $result = $this->Event->publish($event_id, null); return $result === true; }