• 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)

Chris D

XenForo developer
Staff member
#1
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>
 

Mike

XenForo developer
Staff member
#2
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.