summaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
Diffstat (limited to 'system')
-rw-r--r--system/core/Hooks.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/core/Hooks.php b/system/core/Hooks.php
index 767dc4cd9..fd1a2ba11 100644
--- a/system/core/Hooks.php
+++ b/system/core/Hooks.php
@@ -127,7 +127,7 @@ class CI_Hooks {
return FALSE;
}
- if (isset($this->hooks[$which][0]) && is_array($this->hooks[$which][0]))
+ if (is_array($this->hooks[$which]))
{
foreach ($this->hooks[$which] as $val)
{