[ExtendedProfile] Fix Admin menu option

This commit is contained in:
Diogo Cordeiro 2019-08-21 17:11:37 +01:00
parent b42af10905
commit 92ab5e18ee

View File

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