Hide about box if 'about me' text is empty
authorMarcel Werk <burntime@woltlab.com>
Thu, 9 Jun 2016 14:15:12 +0000 (16:15 +0200)
committerMarcel Werk <burntime@woltlab.com>
Thu, 9 Jun 2016 14:15:12 +0000 (16:15 +0200)
com.woltlab.wcf/templates/article.tpl

index 3690468e939764d418a68aa63ee25b67eef5920d..9f83dae6a864e9270a93736a5d228e298c1e95e6 100644 (file)
        {/if}
 </section>
 
-{if ARTICLE_SHOW_ABOUT_AUTHOR}
+{if ARTICLE_SHOW_ABOUT_AUTHOR && $article->getUserProfile()->aboutMe}
        <div class="section articleAboutAuthor">
                <h2 class="sectionTitle">{lang}wcf.article.aboutAuthor{/lang}</h2>