aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes
diff options
context:
space:
mode:
authorHenry Sudhof <kellanved@phpbb.com>2008-08-13 14:22:04 +0000
committerHenry Sudhof <kellanved@phpbb.com>2008-08-13 14:22:04 +0000
commit191e582323ac19d92a00495f66d5aed20b47eb57 (patch)
tree0eabd0b0145892d14cf961723976278035227b9a /phpBB/includes
parent3e14cefc2b3dcba7b4ba02abf5f769a72e2980ef (diff)
downloadforums-191e582323ac19d92a00495f66d5aed20b47eb57.tar
forums-191e582323ac19d92a00495f66d5aed20b47eb57.tar.gz
forums-191e582323ac19d92a00495f66d5aed20b47eb57.tar.bz2
forums-191e582323ac19d92a00495f66d5aed20b47eb57.tar.xz
forums-191e582323ac19d92a00495f66d5aed20b47eb57.zip
#29335
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8749 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes')
-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 b0cdd26eef..4fd0ff126d 100644
--- a/phpBB/includes/functions_display.php
+++ b/phpBB/includes/functions_display.php
@@ -1169,7 +1169,7 @@ function get_user_avatar($avatar, $avatar_type, $avatar_width, $avatar_height, $
}
$avatar_img .= $avatar;
- return '<img src="' . $avatar_img . '" width="' . $avatar_width . '" height="' . $avatar_height . '" alt="' . ((!empty($user->lang[$alt])) ? $user->lang[$alt] : $alt) . '" />';
+ return '<img src="' . urlencode($avatar_img) . '" width="' . $avatar_width . '" height="' . $avatar_height . '" alt="' . ((!empty($user->lang[$alt])) ? $user->lang[$alt] : $alt) . '" />';
}
?> \ No newline at end of file