//small fix

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