mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-23 22:04:25 +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)
|
public static function all($name)
|
||||||
{
|
{
|
||||||
|
$name = self::normalizeHookName($name);
|
||||||
if (!self::has($name)) {
|
if (!self::has($name)) {
|
||||||
return array();
|
return array();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user