[-] FO : fixed bug #PSCFV-1286 - live edit bug when module name contains "_"
This commit is contained in:
1 parent
83703dc4ee
commit
256cc46136
2 files changed
+18
-15
No files matched your search
+1
-1
@@ -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));
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user