mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-23 05:44:36 +02:00
Hook: normalize names also for all()
This commit is contained in:
parent
380f11d9c2
commit
8fa33cebc7
@ -205,6 +205,7 @@ class Hook
|
||||
*/
|
||||
public static function all($name)
|
||||
{
|
||||
$name = self::normalizeHookName($name);
|
||||
if (!self::has($name)) {
|
||||
return array();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user