aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/event/dispatcher.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/phpbb/event/dispatcher.php')
-rw-r--r--phpBB/phpbb/event/dispatcher.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/phpBB/phpbb/event/dispatcher.php b/phpBB/phpbb/event/dispatcher.php
index 1c4abeb108..1ba2ab8987 100644
--- a/phpBB/phpbb/event/dispatcher.php
+++ b/phpBB/phpbb/event/dispatcher.php
@@ -57,7 +57,12 @@ class dispatcher extends ContainerAwareEventDispatcher implements dispatcher_int
return $event;
}
- return parent::dispatch($eventName, $event);
+ foreach ((array) $eventName as $name)
+ {
+ $event = parent::dispatch($name, $event);
+ }
+
+ return $event;
}
/**