summaryrefslogtreecommitdiffstats
path: root/system/core/Hooks.php
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2014-06-12 10:33:43 +0200
committerAndrey Andreev <narf@devilix.net>2014-06-12 10:33:43 +0200
commit94293adfa2dea87ae0fc4ced4ba58dd9184a3adc (patch)
tree10b03ae4c21a231530b37671cedce4d905d80366 /system/core/Hooks.php
parent57f10059d7bff4cad3ff597f0e5749707b76f009 (diff)
Fix #3101
Diffstat (limited to 'system/core/Hooks.php')
-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 fd1a2ba11..26ced0894 100644
--- a/system/core/Hooks.php
+++ b/system/core/Hooks.php
@@ -127,7 +127,7 @@ class CI_Hooks {
return FALSE;
}
- if (is_array($this->hooks[$which]))
+ if (is_array($this->hooks[$which]) && ! isset($this->hooks[$which]['function']))
{
foreach ($this->hooks[$which] as $val)
{