From ad07b1c50b56a6b8ff52fb79cdfc741dfe086fb7 Mon Sep 17 00:00:00 2001 From: vdigital Date: Thu, 24 Jun 2010 08:19:51 +0000 Subject: [PATCH] Fix: Smarty error on local_head = '' git-svn-id: http://piwigo.org/svn/trunk@6594 68402e56-0260-453c-a942-63ccdbb3a9ee --- themes/default/template/header.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/themes/default/template/header.tpl b/themes/default/template/header.tpl index 807196312..7073bf9ea 100644 --- a/themes/default/template/header.tpl +++ b/themes/default/template/header.tpl @@ -34,7 +34,7 @@ {if $theme.load_css} {/if} -{if isset($theme.local_head)}{include file=$theme.local_head}{/if} +{if !empty($theme.local_head)}{include file=$theme.local_head}{/if} {/foreach} {if isset($U_PREFETCH) }{/if}