[-] CORE : Partial fix for #PSCFV-10482 getCacheId is different in back office
This commit is contained in:
@@ -1730,7 +1730,7 @@ abstract class ModuleCore
|
|||||||
{
|
{
|
||||||
Tools::enableCache();
|
Tools::enableCache();
|
||||||
if ($cache_id === null)
|
if ($cache_id === null)
|
||||||
$cache_id = Module::getCacheId($this->name);
|
$cache_id = $this->name;
|
||||||
Tools::clearCache(Context::getContext()->smarty, $this->getTemplatePath($template), $cache_id, $compile_id);
|
Tools::clearCache(Context::getContext()->smarty, $this->getTemplatePath($template), $cache_id, $compile_id);
|
||||||
Tools::restoreCacheSettings();
|
Tools::restoreCacheSettings();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user