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

xfrocks

Well-known member
From the template:

PHP:
<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):

PHP:
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?
 
Back
Top Bottom