Incorrect property used to display the number of received reactions
authorAlexander Ebert <ebert@woltlab.com>
Wed, 25 Sep 2019 10:21:55 +0000 (12:21 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Wed, 25 Sep 2019 10:21:55 +0000 (12:21 +0200)
com.woltlab.wcf/templates/userInformationStatistics.tpl

index eb302b891bef16ebc9aa09666adf7028b4eca299..77290840fb6be0fe38a0801aa8442bd527fa4ead 100644 (file)
@@ -2,9 +2,9 @@
 
 {event name='statistics'}
 
-{if MODULE_LIKE && $user->cumulativeLikes}
+{if MODULE_LIKE && $user->likesReceived}
        <dt>{if $__wcf->getSession()->getPermission('user.profile.canViewUserProfile') && !$user->isProtected()}<a href="{link controller='User' object=$user}{/link}#likes" class="jsTooltip" title="{lang}wcf.like.showLikesReceived{/lang}">{lang}wcf.like.reactionsReceived{/lang}</a>{else}{lang}wcf.like.reactionsReceived{/lang}{/if}</dt>
-       <dd>{#$user->cumulativeLikes}</dd>
+       <dd>{#$user->likesReceived}</dd>
 {/if}
 
 {if $user->activityPoints}