TickTackk
Well-known member
- Affected version
- 2.2.2
In
but in
core.js
JavaScript:
getAutoCompleteUrl: function()
{
if (XF.getApp() == 'admin')
{
return XF.canonicalizeUrl('admin.php?users/find')
}
else
{
return XF.canonicalizeUrl('index.php?members/find')
}
},
XF\Admin\Controller\User
controller:
PHP:
protected function preDispatchController($action, ParameterBag $params)
{
switch (strtolower($action))
{
case 'index':
break;
default:
$this->assertAdminPermission('user');
}
}