commit | 45576158ae7e2031a4c2924978f3b1f735a58af8 | [log] [tgz] |
---|---|---|
author | Max <max@supportex.net> | Tue May 27 16:10:04 2014 +0200 |
committer | Max <max@supportex.net> | Tue May 27 16:10:04 2014 +0200 |
tree | aee5a32ca617d0f00c219cc16a902521ccf84484 | |
parent | 50d7f701fb8ce6a59a8986c6b95b1b4912cfbe9e [diff] [blame] |
fix callable hooks
diff --git a/system/core/Hooks.php b/system/core/Hooks.php index fde43d0..fd1a2ba 100644 --- a/system/core/Hooks.php +++ b/system/core/Hooks.php
@@ -127,7 +127,7 @@ return FALSE; } - if (is_array($this->hooks[$which]) && isset($this->hooks[$which][0]) && is_array($this->hooks[$which][0])) + if (is_array($this->hooks[$which])) { foreach ($this->hooks[$which] as $val) {