From 7618906efe364cfd026201c53ed91c51f90e369d Mon Sep 17 00:00:00 2001 From: fBrignoli Date: Wed, 11 Apr 2012 08:45:28 +0000 Subject: [PATCH] // missing call git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@14566 b9a71923-0436-4b27-9f14-aed3839534dd --- classes/controller/FrontController.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/classes/controller/FrontController.php b/classes/controller/FrontController.php index 93443e1e4..640e3b9ae 100755 --- a/classes/controller/FrontController.php +++ b/classes/controller/FrontController.php @@ -541,7 +541,7 @@ class FrontControllerCore extends Controller if ($layout) { 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 { ob_start(); @@ -550,7 +550,7 @@ class FrontControllerCore extends Controller ob_clean(); $this->context->smarty->assign('template', $template); } - $this->context->smarty->display(_PS_THEME_DIR_.'layout.tpl'); + $this->context->smarty->display($layout); } else {