[ExtendedProfile] Fix Admin menu option
This commit is contained in:
parent
b42af10905
commit
92ab5e18ee
@ -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'
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user