aboutsummaryrefslogtreecommitdiffstats
path: root/themes
diff options
context:
space:
mode:
authorvdigital <vdigital@piwigo.org>2010-06-24 08:19:51 +0000
committervdigital <vdigital@piwigo.org>2010-06-24 08:19:51 +0000
commitad07b1c50b56a6b8ff52fb79cdfc741dfe086fb7 (patch)
tree054819e0d94c95d1bf0da0ba691a9437edf2909f /themes
parent5561730d35402c63ef62b449e451491534deb9af (diff)
Fix: Smarty error on local_head = ''
git-svn-id: http://piwigo.org/svn/trunk@6594 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'themes')
-rw-r--r--themes/default/template/header.tpl2
1 files changed, 1 insertions, 1 deletions
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}
<link rel="stylesheet" type="text/css" href="{$ROOT_URL}themes/{$theme.id}/theme.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) }<link rel="prefetch" href="{$U_PREFETCH}">{/if}