1
0
mirror of https://github.com/e107inc/e107.git synced 2025-09-03 11:22:40 +02:00

Issue #1309. e_BASE."user.php" replaced with SEF URL.

This commit is contained in:
Jimmi08
2016-01-27 12:33:36 +01:00
parent 5750b91b91
commit 282322e322
2 changed files with 8 additions and 2 deletions

View File

@@ -199,7 +199,10 @@ foreach ($forumArray as $forumInfo)
$tmp = explode(".", $x[0], 2);
if($user_name)
{
$POSTER = "<a href='".e_BASE."user.php?id.{$tmp[0]}'>$user_name</a>";
//$POSTER = "<a href='".e_BASE."user.php?id.{$tmp[0]}'>$user_name</a>";
$uparams = array('id' => $tmp[0], 'name' => $user_name]);
$link = e107::getUrl()->create('user/profile/view', $uparams);
$POSTER = "<a href='".$link."'>".$user_name."</a>";
}
else
{