mirror of
https://github.com/e107inc/e107.git
synced 2025-08-03 13:17:24 +02:00
Clean-up of {USER_NAME_LINK}
This commit is contained in:
@@ -409,8 +409,8 @@ class user_shortcodes extends e_shortcode
|
|||||||
|
|
||||||
function sc_user_name_link($parm='')
|
function sc_user_name_link($parm='')
|
||||||
{
|
{
|
||||||
$uparams = array('id' => $this->var['user_id'], 'name' => $this->var['user_name']);
|
$url = $this->sc_user_profile_url();
|
||||||
return "<a href='".e107::getUrl()->create('user/profile/view', $uparams)."'>".$this->var['user_name']."</a>";
|
return "<a href='".$url."'>".$this->var['user_name']."</a>";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user