Permalink
Browse files

Merge pull request #851 from tomcode/hmvc-lite-typoHooks

HMVC lite typo in Hooks initializer
  • Loading branch information...
2 parents f3b2410 + 14df152 commit 79cdddb7c1362c5b0a28cf2f88ba1b2f4d3ea4ba Phil Sturgeon committed Jan 1, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 system/core/Hooks.php
View
@@ -79,7 +79,7 @@ function _initialize()
// Grab the "hooks" definition file.
// If there are no hooks, we're done.
- $hook = $CI->config->get('hooks.php', 'hooks');
+ $hook = $CI->config->get('hooks.php', 'hook');
if (is_array($hook))
{
$this->hooks =& $hook;

0 comments on commit 79cdddb

Please sign in to comment.