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 f74b34c3b6a224be966049dbafab634058304b87..25235df420fcb12aeca61800249e2575a0e490a1 100644 (file)
@@ -9,7 +9,7 @@
    {else}
     Photos
    {/if}
-   {if isset($description) }
+   {if isset($description) && $description != "" }
     -&nbsp;{$description}<br />
    {/if}
   {/if}