diff --git a/library/Icinga/Application/Hook.php b/library/Icinga/Application/Hook.php index b3d12fe8a..dcfd5dd84 100644 --- a/library/Icinga/Application/Hook.php +++ b/library/Icinga/Application/Hook.php @@ -113,7 +113,7 @@ class Hook { $name = self::normalizeHookName($name); - if (!self::has($name, $key)) { + if (!self::has($name)) { return null; }