Fixed Smilies icon missing from ACP for non-Super Administrators

Chris D

XenForo developer
Staff member
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'),
 
Top