Hook: normalize names also for all()

This commit is contained in:
Thomas Gelf 2015-11-13 14:27:46 +01:00
parent 380f11d9c2
commit 8fa33cebc7
1 changed files with 1 additions and 0 deletions

View File

@ -205,6 +205,7 @@ class Hook
*/
public static function all($name)
{
$name = self::normalizeHookName($name);
if (!self::has($name)) {
return array();
}