diff options
author | Henry Sudhof <kellanved@phpbb.com> | 2008-08-28 12:43:40 +0000 |
---|---|---|
committer | Henry Sudhof <kellanved@phpbb.com> | 2008-08-28 12:43:40 +0000 |
commit | 50563a8b95c188d712efa286b71a12668babdc2c (patch) | |
tree | fa9b9d9566e9964321f51c02b61f639d8d6ab0aa | |
parent | 63a970d3708e97381534016818821b997f2009fc (diff) | |
download | forums-50563a8b95c188d712efa286b71a12668babdc2c.tar forums-50563a8b95c188d712efa286b71a12668babdc2c.tar.gz forums-50563a8b95c188d712efa286b71a12668babdc2c.tar.bz2 forums-50563a8b95c188d712efa286b71a12668babdc2c.tar.xz forums-50563a8b95c188d712efa286b71a12668babdc2c.zip |
fixing fault introduced with R8749
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8790 89ea8834-ac86-4346-8a33-228a782c2dd0
-rw-r--r-- | phpBB/includes/functions_display.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/functions_display.php b/phpBB/includes/functions_display.php index d016ec0508..c1420a642e 100644 --- a/phpBB/includes/functions_display.php +++ b/phpBB/includes/functions_display.php @@ -1183,7 +1183,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) . '" />'; } ?>
\ No newline at end of file |