From 616858ea891396837b64fe1c100ccc0461358390 Mon Sep 17 00:00:00 2001 From: Diogo Cordeiro Date: Wed, 21 Aug 2019 17:11:37 +0100 Subject: [PATCH] [ExtendedProfile] Fix Admin menu option --- plugins/ExtendedProfile/ExtendedProfilePlugin.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/ExtendedProfile/ExtendedProfilePlugin.php b/plugins/ExtendedProfile/ExtendedProfilePlugin.php index 9a9ec350b8..09cdce35ed 100644 --- a/plugins/ExtendedProfile/ExtendedProfilePlugin.php +++ b/plugins/ExtendedProfile/ExtendedProfilePlugin.php @@ -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' ); }