From: Marcel Werk Date: Thu, 9 Jun 2016 14:15:12 +0000 (+0200) Subject: Hide about box if 'about me' text is empty X-Git-Tag: 3.0.0_Beta_1~1472 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=caff764204f1b9b08fbaec2edb4b6c92ebe94b55;p=GitHub%2FWoltLab%2FWCF.git Hide about box if 'about me' text is empty --- diff --git a/com.woltlab.wcf/templates/article.tpl b/com.woltlab.wcf/templates/article.tpl index 3690468e93..9f83dae6a8 100644 --- a/com.woltlab.wcf/templates/article.tpl +++ b/com.woltlab.wcf/templates/article.tpl @@ -113,7 +113,7 @@ {/if} -{if ARTICLE_SHOW_ABOUT_AUTHOR} +{if ARTICLE_SHOW_ABOUT_AUTHOR && $article->getUserProfile()->aboutMe}

{lang}wcf.article.aboutAuthor{/lang}