[-] FO : fixed bug #PSCFV-1286 - live edit bug when module name contains "_"

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@15266 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
vAugagneur
2012-05-14 12:21:10 +00:00
parent 897c6acb82
commit 50a7847b2b
2 changed files with 18 additions and 15 deletions
+1 -1
View File
@@ -298,7 +298,7 @@ if (Tools::isSubmit('getHookableList'))
if (!array_key_exists($hook_name, $hookableList))
$hookableList[$hook_name] = array();
if ($moduleInstance->isHookableOn($hook_name))
array_push($hookableList[$hook_name], $module);
array_push($hookableList[$hook_name], str_replace('_', '-', $module));
}
}