diff options
author | Andreas Unterkircher <unki@netshadow.at> | 2009-05-23 16:02:05 +0200 |
---|---|---|
committer | Andreas Unterkircher <unki@netshadow.at> | 2009-05-23 16:02:05 +0200 |
commit | b144237b69f5133524d31a8cf633af2af7244e6b (patch) | |
tree | c5bbabdf9357cb471efec4b21b940207012c36bf | |
parent | e025c62414528e3aa9fd61b805e8b7b73211d147 (diff) |
also check if template variable isn't empty
Signed-off-by: Andreas Unterkircher <unki@netshadow.at>
-rw-r--r-- | themes/default/templates/single_photo.tpl | 2 |
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 != "" } - {$description}<br /> {/if} {/if} |