diff options
author | Timothy Warren <tim@timshomepage.net> | 2012-05-17 14:02:21 +0200 |
---|---|---|
committer | Timothy Warren <tim@timshomepage.net> | 2012-05-17 14:02:21 +0200 |
commit | e8e09039b49ac5883e9e94162579841375e13c69 (patch) | |
tree | c206119bbc5bdcd573b56609b6450b14e6c20dcb /system/core/Hooks.php | |
parent | 43c216b998ccf8c8208b237e9e0d9c468c8a82e5 (diff) | |
parent | ae31eb5e75d914fc3ab622a7ac5c23eb1e6d9f9a (diff) |
Merge upstream
Diffstat (limited to 'system/core/Hooks.php')
-rwxr-xr-x | system/core/Hooks.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/system/core/Hooks.php b/system/core/Hooks.php index b42ecbe20..5bbb0009a 100755 --- a/system/core/Hooks.php +++ b/system/core/Hooks.php @@ -44,14 +44,14 @@ class CI_Hooks { * @var bool */ public $enabled = FALSE; - + /** * List of all hooks set in config/hooks.php * * @var array */ public $hooks = array(); - + /** * Determines wether hook is in progress, used to prevent infinte loops * @@ -152,7 +152,7 @@ class CI_Hooks { // If the script being called happens to have the same // hook call within it a loop can happen - if ($this->in_progress == TRUE) + if ($this->in_progress === TRUE) { return; } |