aboutsummaryrefslogtreecommitdiffstats
path: root/apps/workflowengine/lib/Manager.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/workflowengine/lib/Manager.php')
-rw-r--r--apps/workflowengine/lib/Manager.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/workflowengine/lib/Manager.php b/apps/workflowengine/lib/Manager.php
index 0a1b7fab6c5..adde5309195 100644
--- a/apps/workflowengine/lib/Manager.php
+++ b/apps/workflowengine/lib/Manager.php
@@ -570,7 +570,7 @@ class Manager implements IManager, IEntityAware {
* @since 18.0.0
*/
public function registerEntity(IEntity $entity): void {
- $this->registeredEntities[$entity->getId()] = $entity;
+ $this->registeredEntities[get_class($entity)] = $entity;
}
public function registerOperation(IOperation $operator): void {