Fix property name.
authorJan Schneider <jan@horde.org>
Thu, 18 Nov 2010 13:57:23 +0000 (14:57 +0100)
committerJan Schneider <jan@horde.org>
Thu, 18 Nov 2010 13:57:23 +0000 (14:57 +0100)
framework/Core/lib/Horde/Core/Prefs/Storage/Hooks.php

index 4822a1c..fd905b7 100644 (file)
@@ -25,7 +25,7 @@ class Horde_Core_Prefs_Storage_Hooks extends Horde_Prefs_Storage_Base
             return $scope_ob;
         }
 
-        foreach ($conf_ob->_hooks[$scope_ob->scope] as $name) {
+        foreach ($conf_ob->hooks[$scope_ob->scope] as $name) {
             try {
                 $scope_ob->set($name, Horde::callHook('prefs_init', array($name, $this->_params['user']), $scope_ob->scope));
             } catch (Horde_Exception_HookNotSet $e) {}