aboutsummaryrefslogtreecommitdiffstats
path: root/themes/default/template/header.tpl
diff options
context:
space:
mode:
authorvdigital <vdigital@piwigo.org>2010-06-24 08:25:18 +0000
committervdigital <vdigital@piwigo.org>2010-06-24 08:25:18 +0000
commitea80c5b895ad20064579d5b9b3a0504b17babf92 (patch)
tree6655614d6350877b19df642e286e3ea1ccb559d8 /themes/default/template/header.tpl
parent24d68bed062ae2c953ee4c6defc6145de2d11ac6 (diff)
merge r6594 from trunk
Fix: Smarty error on local_head = '' git-svn-id: http://piwigo.org/svn/branches/2.1@6595 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-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}