commit c36e8d75e9800b1db89c4df3af849ac2b9ee9760
parent 01b61265458a0fdca873cc1b4ef859898fa06271
Author: finwo <finwo@pm.me>
Date: Fri, 22 Apr 2016 22:12:27 +0200
Updated dispatch caller
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/Hooked.php b/src/Hooked.php
@@ -76,9 +76,9 @@ abstract class Hooked
foreach ($this->hooks[$name] as $hook) {
// Call the hook
- if (!$invoker->call($hook, array(
+ if (!$invoker->call($hook, array_merge(array(
'event' => $event
- ))) {
+ ), $event->get('param')))) {
// Break propegation if asked to
break;
}