Fixed broken link
authorMarcel Werk <burntime@woltlab.com>
Thu, 15 Oct 2015 16:55:25 +0000 (18:55 +0200)
committerMarcel Werk <burntime@woltlab.com>
Thu, 15 Oct 2015 16:55:25 +0000 (18:55 +0200)
com.woltlab.wcf/templates/userInformationStatistics.tpl

index e26cac5a719c7a7a62626f0d365015b67ce7cdd5..55e613bdd211cd1d88c4fc028bedf6d065d3055b 100644 (file)
@@ -2,7 +2,7 @@
        {event name='statistics'}
        
        {if MODULE_LIKE && $user->likesReceived}
-               <dt><a href="{link controller='User' object=$user}{/link}#likes" class="jsTooltip" title="{lang}wcf.like.showLikesReceived{/lang}">{lang}wcf.like.likesReceived{/lang}</a></dt>
+               <dt>{if !$user->isProtected()}<a href="{link controller='User' object=$user}{/link}#likes" class="jsTooltip" title="{lang}wcf.like.showLikesReceived{/lang}">{lang}wcf.like.likesReceived{/lang}</a>{else}{lang}wcf.like.likesReceived{/lang}{/if}</dt>
                <dd>{#$user->likesReceived}</dd>
        {/if}