mirror of
https://github.com/e107inc/e107.git
synced 2025-08-02 20:57:26 +02:00
Quick fix to repair the link to usersettings.
This commit is contained in:
@@ -329,7 +329,8 @@ global $user;
|
|||||||
$url = e107::getUrl();
|
$url = e107::getUrl();
|
||||||
if (USERID == $user['user_id'])
|
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'])
|
else if(ADMIN && getperms("4") && !$user['user_admin'])
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user