From: Marcel Werk Date: Thu, 27 Aug 2015 22:15:38 +0000 (+0200) Subject: Removed dead link if profile is protected X-Git-Tag: 2.1.7~20 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=d61163857765dccb2b63c9c02555266da1a1389f;p=GitHub%2FWoltLab%2FWCF.git Removed dead link if profile is protected --- diff --git a/com.woltlab.wcf/templates/userSidebar.tpl b/com.woltlab.wcf/templates/userSidebar.tpl index 8f0876ef77..815d7a574c 100644 --- a/com.woltlab.wcf/templates/userSidebar.tpl +++ b/com.woltlab.wcf/templates/userSidebar.tpl @@ -19,7 +19,7 @@ {event name='statistics'} {if MODULE_LIKE && $user->likesReceived} -
{lang}wcf.like.likesReceived{/lang}
+
{if !$user->isProtected()}{lang}wcf.like.likesReceived{/lang}{else}{lang}wcf.like.likesReceived{/lang}{/if}
{#$user->likesReceived}
{/if}