Permalink
Browse files

fix callable hooks

  • Loading branch information...
1 parent 50d7f70 commit 45576158ae7e2031a4c2924978f3b1f735a58af8 Max committed May 27, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 system/core/Hooks.php
View
@@ -127,7 +127,7 @@ public function call_hook($which = '')
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)
{

0 comments on commit 4557615

Please sign in to comment.