mirror of
https://github.com/e107inc/e107.git
synced 2025-03-14 01:19:44 +01:00
Fixes #277 - broken link on user.php to usersettings.php when using SEF
This commit is contained in:
parent
0ebd25252f
commit
5b8f347db4
@ -446,7 +446,7 @@ class user_shortcodes extends e_shortcode
|
||||
if (USERID == $this->var['user_id'])
|
||||
{
|
||||
//return "<a href='".$url->create('user/myprofile/edit')."'>".LAN_USER_38."</a>";
|
||||
return "<a href='usersettings.php'>".LAN_USER_38."</a>"; // TODO: repair dirty fix for usersettings
|
||||
return "<a href='".e_HTTP."usersettings.php'>".LAN_USER_38."</a>"; // TODO: repair dirty fix for usersettings
|
||||
}
|
||||
else if(ADMIN && getperms("4") && !$this->var['user_admin'])
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user