also check if template variable isn't empty
[phpfspot.git] / 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}