mirror of
https://github.com/e107inc/e107.git
synced 2025-08-01 20:30:39 +02:00
Quick fix to repair the link to usersettings.
This commit is contained in:
@@ -329,7 +329,8 @@ global $user;
|
||||
$url = e107::getUrl();
|
||||
if (USERID == $user['user_id'])
|
||||
{
|
||||
return "<a href='".$url->create('user/myprofile/edit')."'>".LAN_USER_38."</a>";
|
||||
//return "<a href='".$url->create('user/myprofile/edit')."'>".LAN_USER_38."</a>";
|
||||
return "<a href='usersettings.php' alt=''>".LAN_USER_38."</a>"; // TODO: repair dirty fix for usersettings
|
||||
}
|
||||
else if(ADMIN && getperms("4") && !$user['user_admin'])
|
||||
{
|
||||
|
Reference in New Issue
Block a user