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}