also check if template variable isn't empty
authorAndreas Unterkircher <unki@netshadow.at>
Sat, 23 May 2009 14:02:05 +0000 (16:02 +0200)
committerAndreas Unterkircher <unki@netshadow.at>
Sat, 23 May 2009 14:02:05 +0000 (16:02 +0200)
Signed-off-by: Andreas Unterkircher <unki@netshadow.at>
themes/default/templates/single_photo.tpl

index f74b34c..25235df 100644 (file)
@@ -9,7 +9,7 @@
    {else}
     Photos
    {/if}
-   {if isset($description) }
+   {if isset($description) && $description != "" }
     -&nbsp;{$description}<br />
    {/if}
   {/if}