From b144237b69f5133524d31a8cf633af2af7244e6b Mon Sep 17 00:00:00 2001 From: Andreas Unterkircher Date: Sat, 23 May 2009 16:02:05 +0200 Subject: also check if template variable isn't empty Signed-off-by: Andreas Unterkircher --- themes/default/templates/single_photo.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'themes') diff --git a/themes/default/templates/single_photo.tpl b/themes/default/templates/single_photo.tpl index f74b34c..25235df 100644 --- a/themes/default/templates/single_photo.tpl +++ b/themes/default/templates/single_photo.tpl @@ -9,7 +9,7 @@ {else} Photos {/if} - {if isset($description) } + {if isset($description) && $description != "" } - {$description}
{/if} {/if} -- cgit v1.2.3-18-g5258