Fixed empty p tag
authorMarcel Werk <burntime@woltlab.com>
Wed, 7 Sep 2011 13:14:41 +0000 (15:14 +0200)
committerMarcel Werk <burntime@woltlab.com>
Wed, 7 Sep 2011 13:14:41 +0000 (15:14 +0200)
wcfsetup/install/files/acp/templates/option.tpl

index 5e256804ab7671dc85975c5f3a7b79da1541b708..b024bad3a0c6e8204d2d3f6651bd9807e2309b98 100644 (file)
@@ -53,7 +53,7 @@
                                        {foreach from=$categoryLevel1[categories] item=categoryLevel2}
                                                <fieldset>
                                                        <legend>{lang}wcf.acp.option.category.{@$categoryLevel2[object]->categoryName}{/lang}</legend>
-                                                       <p class="description">{lang}wcf.acp.option.category.{$categoryLevel2[object]->categoryName}.description{/lang}</p>
+                                                       {hascontent}<p class="description">{content}{lang}wcf.acp.option.category.{$categoryLevel2[object]->categoryName}.description{/lang}{/content}</p>{/hascontent}
                                                        
                                                        {include file='optionFieldList' options=$categoryLevel2[options] langPrefix='wcf.acp.option.'}
                                                </fieldset>