From 7707c7762c561640b6a48bb50e92e74b21a3ba76 Mon Sep 17 00:00:00 2001 From: Ian Date: Tue, 20 Mar 2012 14:39:00 +0100 Subject: [PATCH] avoid empty template display --- include/admin/tpl/templates.inc.tpl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/admin/tpl/templates.inc.tpl b/include/admin/tpl/templates.inc.tpl index a02ed788..b9348468 100644 --- a/include/admin/tpl/templates.inc.tpl +++ b/include/admin/tpl/templates.inc.tpl @@ -38,6 +38,7 @@ {if $info.info.engine == "yes"} {continue} {/if} + {if !empty($template)} {if $template@iteration is even}
{else} @@ -80,4 +81,5 @@
+ {/if} {/foreach} \ No newline at end of file