//small fix

This commit is contained in:
vAugagneur
2012-10-04 15:29:59 +00:00
parent 4ffb46788a
commit ccb6580cf0
+1 -1
View File
@@ -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))