Fix: hooks not added to App::[] at the time of registration

This commit is contained in:
M.Dent 2018-10-05 13:25:16 -04:00
parent b5ed1de31e
commit d39ebebc9d

View File

@ -42,6 +42,7 @@ class Hook {
intval($version) intval($version)
); );
self::insert($hook, $function, $version, $priority);
return $r; return $r;
} }
@ -119,4 +120,4 @@ class Hook {
App::$hooks[$hook][] = array('', $fn, $priority, $version); App::$hooks[$hook][] = array('', $fn, $priority, $version);
} }
} }