mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-10 13:28:55 +00:00
Merge R8790/8791
git-svn-id: file:///svn/phpbb/trunk@8793 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
cbacffd9fc
commit
323fb23b49
1 changed files with 1 additions and 1 deletions
|
@ -1180,7 +1180,7 @@ function get_user_avatar($avatar, $avatar_type, $avatar_width, $avatar_height, $
|
|||
}
|
||||
|
||||
$avatar_img .= $avatar;
|
||||
return '<img src="' . urlencode($avatar_img) . '" width="' . $avatar_width . '" height="' . $avatar_height . '" alt="' . ((!empty($user->lang[$alt])) ? $user->lang[$alt] : $alt) . '" />';
|
||||
return '<img src="' . (str_replace(' ', '%20', $avatar_img)) . '" width="' . $avatar_width . '" height="' . $avatar_height . '" alt="' . ((!empty($user->lang[$alt])) ? $user->lang[$alt] : $alt) . '" />';
|
||||
}
|
||||
|
||||
?>
|
Loading…
Add table
Reference in a new issue