fix event manager

This commit is contained in:
Dennis Eichhorn 2021-03-05 20:57:41 +01:00
parent 9272af316b
commit f3cbc2051a

View File

@ -198,7 +198,7 @@ final class EventManager implements \Countable
$triggerValue = false;
foreach ($groups as $groupName => $ids) {
foreach ($ids as $id) {
$triggerValue = $triggerValue || $this->trigger($groupName, $id, $data);
$triggerValue = $this->trigger($groupName, $id, $data) || $triggerValue;
}
}