summaryrefslogtreecommitdiffstats
path: root/themes
diff options
context:
space:
mode:
authorAndreas Unterkircher <unki@netshadow.at>2009-05-23 16:02:05 +0200
committerAndreas Unterkircher <unki@netshadow.at>2009-05-23 16:02:05 +0200
commitb144237b69f5133524d31a8cf633af2af7244e6b (patch)
treec5bbabdf9357cb471efec4b21b940207012c36bf /themes
parente025c62414528e3aa9fd61b805e8b7b73211d147 (diff)
also check if template variable isn't empty
Signed-off-by: Andreas Unterkircher <unki@netshadow.at>
Diffstat (limited to 'themes')
-rw-r--r--themes/default/templates/single_photo.tpl2
1 files changed, 1 insertions, 1 deletions
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 != "" }
-&nbsp;{$description}<br />
{/if}
{/if}