1. 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

Discussion in 'Resolved Bug Reports' started by xfrocks, Oct 24, 2013.

  1. xfrocks

    xfrocks 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?
  2. Mike

    Mike XenForo Developer Staff Member

    Fixed, thanks.
    xfrocks likes this.

Share This Page