mirror of https://github.com/MISP/MISP
fix: [event:publish] Call correct trigger
parent
64f1949b82
commit
b146902a01
|
@ -4534,7 +4534,7 @@ class Event extends AppModel
|
|||
'id' => $id,
|
||||
'message' => __('Publishing stopped by a blocking workflow.'),
|
||||
];
|
||||
$success = $this->executeTrigger('publish', $fullEvent[0], $workflowErrors, $logging);
|
||||
$success = $this->executeTrigger('event-publish', $fullEvent[0], $workflowErrors, $logging);
|
||||
if (empty($success)) {
|
||||
$errorMessage = implode(', ', $workflowErrors);
|
||||
return $errorMessage;
|
||||
|
|
Loading…
Reference in New Issue