diff options
author | Christopher Smith <chris@jalakai.co.uk> | 2014-02-17 20:02:35 +0000 |
---|---|---|
committer | Christopher Smith <chris@jalakai.co.uk> | 2014-02-17 20:02:35 +0000 |
commit | b63529ad89f66ca4de0b4b6003892ac7fd71653c (patch) | |
tree | d9825419ca69830cbf8950482dfa5c59ab8c599b | |
parent | 0e2431b761b5c24b59109867ec74d7647d16131f (diff) | |
download | rpg-b63529ad89f66ca4de0b4b6003892ac7fd71653c.tar.gz rpg-b63529ad89f66ca4de0b4b6003892ac7fd71653c.tar.bz2 |
remove '' from list, its not part of the hook array
-rw-r--r-- | inc/events.php | 2 |
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); |