summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/Core/Action/ActionManager.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/Core/Action/ActionManager.php b/app/Core/Action/ActionManager.php
index 921a8b98..f1ea8abe 100644
--- a/app/Core/Action/ActionManager.php
+++ b/app/Core/Action/ActionManager.php
@@ -127,7 +127,8 @@ class ActionManager extends Base
}
foreach ($actions as $action) {
- $listener = $this->getAction($action['action_name'])->setProjectId($action['project_id']);
+ $listener = clone $this->getAction($action['action_name']);
+ $listener->setProjectId($action['project_id']);
foreach ($action['params'] as $param_name => $param_value) {
$listener->setParam($param_name, $param_value);