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

Fixed Superfluous parameter passed to a phrase in user_edit (Admin CP)

Discussion in 'Resolved Bug Reports' started by Chris D, Sep 16, 2013.

  1. Chris D

    Chris D XenForo Developer Staff Member

    Probably the most minor excuse for a bug I've ever reported but...

    In the admin template user_edit:

    Code:
    <xen:option name="is_discouraged" selected="{$user.is_discouraged}" hint="{xen:phrase discouraged_hint, 'link={xen:adminlink banning/discouraged-ips}'}">{xen:phrase discouraged}</xen:option>
    The phrase discouraged_hint does not have or need a {link} parameter passing to it.

    Change to:

    Code:
    <xen:option name="is_discouraged" selected="{$user.is_discouraged}" hint="{xen:phrase discouraged_hint}">{xen:phrase discouraged}</xen:option>
     
  2. Mike

    Mike XenForo Developer Staff Member

    It doesn't look like that phrase ever had a link in it, so I'm not sure where that came from so I've removed it.
     
    Chris D likes this.

Share This Page