[ExtendedProfile] Fix Admin menu option

This commit is contained in:
Diogo Cordeiro 2019-08-21 17:11:37 +01:00 committed by Diogo Peralta Cordeiro
parent 428878b6d8
commit 616858ea89

View File

@ -202,10 +202,10 @@ class ExtendedProfilePlugin extends Plugin
$action_name = $nav->action->trimmed('action');
$nav->out->menuItem(
'/admin/profilefields',
common_local_url('profilefieldsAdminPanel'),
_m('Profile Fields'),
_m('Custom profile fields'),
$action_name == 'profilefieldsadminpanel',
$action_name == 'profilefieldsAdminPanel',
'nav_profilefields_admin_panel'
);
}