mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-01-11 17:58:41 +00:00
fix event manager
This commit is contained in:
parent
9272af316b
commit
f3cbc2051a
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user