// Fix modules ID on <body> for module controller page
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@10312 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -52,6 +52,8 @@ class ModuleControllerCore extends FrontController
|
||||
$action = Tools::getValue('action');
|
||||
$method = 'action'.$action;
|
||||
|
||||
$this->context->smarty->assign('page_name', 'module-'.$name.'-'.$action);
|
||||
|
||||
if ($action && method_exists($module, $method))
|
||||
$this->setTemplate($module->$method());
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user