From 7029441b4a97ac08685b15eb8ba8044c56438876 Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Thu, 14 Jul 2016 15:00:54 +0200 Subject: [PATCH] Fixed dead link --- com.woltlab.wcf/templates/userInformationStatistics.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/com.woltlab.wcf/templates/userInformationStatistics.tpl b/com.woltlab.wcf/templates/userInformationStatistics.tpl index 08ea41fd8b..fcf5fc7330 100644 --- a/com.woltlab.wcf/templates/userInformationStatistics.tpl +++ b/com.woltlab.wcf/templates/userInformationStatistics.tpl @@ -1,7 +1,7 @@ {event name='statistics'} {if MODULE_LIKE && $user->likesReceived} -
{lang}wcf.like.likesReceived{/lang}
+
{if $__wcf->getSession()->getPermission('user.profile.canViewUserProfile') && $user->isAccessible('canViewProfile')}{lang}wcf.like.likesReceived{/lang}{else}{lang}wcf.like.likesReceived{/lang}{/if}
{#$user->likesReceived}
{/if} -- 2.20.1