• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Fixed Incorrect usage of {xen:helper avatar} in member_view


Well-known member
From the template:

<img src="{xen:helper avatar, $user, l, 'true'}" alt="{$user.username}" style="{xen:helper avatarCropCss, $user}" itemprop="photo" />
In declaration (within XenForo_Template_Helper_Core):

public static function helperAvatarUrl($user, $size, $forceType = null, $canonical = false)
The 3rd parameter is `$forceType` but 'true' is used in the template. Probably that 'true' is for `$canonical`? In that case, the template should use empty string or similar as the 3rd parameter?