summaryrefslogtreecommitdiff
path: root/inc/events.php
diff options
context:
space:
mode:
authorChristopher Smith <chris@jalakai.co.uk>2014-02-17 20:02:35 +0000
committerChristopher Smith <chris@jalakai.co.uk>2014-02-17 20:02:35 +0000
commitb63529ad89f66ca4de0b4b6003892ac7fd71653c (patch)
treed9825419ca69830cbf8950482dfa5c59ab8c599b /inc/events.php
parent0e2431b761b5c24b59109867ec74d7647d16131f (diff)
downloadrpg-b63529ad89f66ca4de0b4b6003892ac7fd71653c.tar.gz
rpg-b63529ad89f66ca4de0b4b6003892ac7fd71653c.tar.bz2
remove '' from list, its not part of the hook array
Diffstat (limited to 'inc/events.php')
-rw-r--r--inc/events.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/events.php b/inc/events.php
index 888b968b5..58ba4d5e4 100644
--- a/inc/events.php
+++ b/inc/events.php
@@ -171,7 +171,7 @@ class Doku_Event_Handler {
if (!empty($this->_hooks[$evt_name])) {
foreach ($this->_hooks[$evt_name] as $sequenced_hooks) {
foreach ($sequenced_hooks as $hook) {
- list($obj, $method, $param, $seq) = $hook;
+ list($obj, $method, $param) = $hook;
if (is_null($obj)) {
$method($event, $param);