From d61163857765dccb2b63c9c02555266da1a1389f Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Fri, 28 Aug 2015 00:15:38 +0200 Subject: [PATCH] Removed dead link if profile is protected --- com.woltlab.wcf/templates/userSidebar.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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} -- 2.20.1