// missing call

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@14566 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
fBrignoli
2012-04-11 08:45:28 +00:00
parent 6925f7d838
commit 7618906efe
+2 -2
View File
@@ -541,7 +541,7 @@ class FrontControllerCore extends Controller
if ($layout) if ($layout)
{ {
if ($this->template) if ($this->template)
$this->context->smarty->display($layout); $this->context->smarty->assign('template', $this->context->smarty->fetch($this->template));
else // For retrocompatibility with 1.4 controller else // For retrocompatibility with 1.4 controller
{ {
ob_start(); ob_start();
@@ -550,7 +550,7 @@ class FrontControllerCore extends Controller
ob_clean(); ob_clean();
$this->context->smarty->assign('template', $template); $this->context->smarty->assign('template', $template);
} }
$this->context->smarty->display(_PS_THEME_DIR_.'layout.tpl'); $this->context->smarty->display($layout);
} }
else else
{ {