From: Marcel Werk Date: Thu, 14 Jul 2016 13:00:54 +0000 (+0200) Subject: Fixed dead link X-Git-Tag: 3.0.0_Beta_1~1152 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=7029441b4a97ac08685b15eb8ba8044c56438876;p=GitHub%2FWoltLab%2FWCF.git Fixed dead link --- 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}