aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHenry Sudhof <kellanved@phpbb.com>2008-08-28 13:12:18 +0000
committerHenry Sudhof <kellanved@phpbb.com>2008-08-28 13:12:18 +0000
commit323fb23b49dc3e7cbca9e10c82094d30f6c55d16 (patch)
tree92e8f8c4809ef22f2300c29f424bc7ab0820c8af
parentcbacffd9fc5787773fabab3b2479ad4cd0bc6f19 (diff)
downloadforums-323fb23b49dc3e7cbca9e10c82094d30f6c55d16.tar
forums-323fb23b49dc3e7cbca9e10c82094d30f6c55d16.tar.gz
forums-323fb23b49dc3e7cbca9e10c82094d30f6c55d16.tar.bz2
forums-323fb23b49dc3e7cbca9e10c82094d30f6c55d16.tar.xz
forums-323fb23b49dc3e7cbca9e10c82094d30f6c55d16.zip
Merge R8790/8791
git-svn-id: file:///svn/phpbb/trunk@8793 89ea8834-ac86-4346-8a33-228a782c2dd0
-rw-r--r--phpBB/includes/functions_display.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/functions_display.php b/phpBB/includes/functions_display.php
index f90f451801..c3ba40b5a7 100644
--- a/phpBB/includes/functions_display.php
+++ b/phpBB/includes/functions_display.php
@@ -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) . '" />';
}
?> \ No newline at end of file