From 2f4833b40b3003b7fdedc5789840bad49a645a30 Mon Sep 17 00:00:00 2001 From: mDeflotte Date: Thu, 15 Dec 2011 16:23:04 +0000 Subject: [PATCH] // BugFix --- themes/default/layout.tpl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/themes/default/layout.tpl b/themes/default/layout.tpl index edbec661a..d24b3068c 100644 --- a/themes/default/layout.tpl +++ b/themes/default/layout.tpl @@ -23,15 +23,15 @@ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) * International Registered Trademark & Property of PrestaShop SA *} -{if isset($display_header)} +{if !empty($display_header)} {include file='./header.tpl' HOOK_HEADER=$HOOK_HEADER} {/if} -{if isset($template)} +{if !empty($template)} {$template} {/if} -{if isset($display_footer)} +{if !empty($display_footer)} {include file='./footer.tpl'} {/if} -{if isset($live_edit)} +{if !empty($live_edit)} {$live_edit} {/if}