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

Fixed Smilies icon missing from ACP for non-Super Administrators

Chris D

XenForo developer
Staff member
#3
Nicely spotted.

There is a mistake in XenForo_ControllerAdmin_Home:

PHP:
'canManageBbCode' => $visitor->hasAdminPermission('bbcode'),
The correct Admin Permission has an ID of "bbCodeSmilie". The above line needs to be changed to:

PHP:
'canManageBbCode' => $visitor->hasAdminPermission('bbCodeSmilie'),