//small fix
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@17767 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -112,7 +112,7 @@ class HookCore extends ObjectModel
|
||||
public static function getIdByName($hook_name)
|
||||
{
|
||||
if (!Validate::isHookName($hook_name))
|
||||
throw new PrestaShopException('Invalid hook name');
|
||||
return false;
|
||||
|
||||
$cache_id = 'hook_idbyname_'.$hook_name;
|
||||
if (!Cache::isStored($cache_id))
|
||||
|
||||
Reference in New Issue
Block a user