From 70127c28d4a62369f146a212abb9e6b0571ff8bc Mon Sep 17 00:00:00 2001 From: Moc Date: Wed, 29 Nov 2023 21:40:48 +0100 Subject: [PATCH] Fixes #5082 - Respect SEF URL settings to usersettings in admin area navbar - --- e107_core/shortcodes/batch/admin_shortcodes.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/e107_core/shortcodes/batch/admin_shortcodes.php b/e107_core/shortcodes/batch/admin_shortcodes.php index 44358aa33d..644d3b9432 100644 --- a/e107_core/shortcodes/batch/admin_shortcodes.php +++ b/e107_core/shortcodes/batch/admin_shortcodes.php @@ -2400,7 +2400,7 @@ private function getOtherNav($type) $tmp[1]['text'] = LAN_SETTINGS; $tmp[1]['description'] = ADLAN_151; - $tmp[1]['link'] = e_BASE.'usersettings.php'; + $tmp[1]['link'] = e107::getUrl()->create('user/myprofile/edit',array('id'=>USERID)); //e_BASE.'usersettings.php'; $tmp[1]['image'] = ""; // "".ADLAN_151.""; $tmp[1]['image_large'] = ''; $tmp[1]['image_src'] = '';