mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-23 00:32:57 +02:00
- remove messenger->reset() calls (they are already performed on sending) git-svn-id: file:///svn/phpbb/trunk@6660 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -426,6 +426,7 @@ function get_user_information($user_id, $user_row)
|
||||
if ($user_row['user_avatar'] && $user->optionget('viewavatars'))
|
||||
{
|
||||
$avatar_img = '';
|
||||
|
||||
switch ($user_row['user_avatar_type'])
|
||||
{
|
||||
case AVATAR_UPLOAD:
|
||||
@@ -436,8 +437,8 @@ function get_user_information($user_id, $user_row)
|
||||
$avatar_img = $config['avatar_gallery_path'] . '/';
|
||||
break;
|
||||
}
|
||||
$avatar_img .= $user_row['user_avatar'];
|
||||
|
||||
$avatar_img .= $user_row['user_avatar'];
|
||||
$user_row['avatar'] = '<img src="' . $avatar_img . '" width="' . $user_row['user_avatar_width'] . '" height="' . $user_row['user_avatar_height'] . '" alt="' . $user->lang['USER_AVATAR'] . '" />';
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user