[ExtendedProfile] Fix Admin menu option
This commit is contained in:
parent
428878b6d8
commit
616858ea89
|
@ -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