1
0
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:
nlstart
2012-04-23 19:10:22 +00:00
parent 953075d28c
commit f7ada45093

View File

@@ -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'])
{