mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 05:50:42 +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:
@@ -1032,6 +1032,7 @@ while ($row = $db->sql_fetchrow($result))
|
||||
if ($row['user_avatar'] && $user->optionget('viewavatars'))
|
||||
{
|
||||
$avatar_img = '';
|
||||
|
||||
switch ($row['user_avatar_type'])
|
||||
{
|
||||
case AVATAR_UPLOAD:
|
||||
@@ -1042,8 +1043,8 @@ while ($row = $db->sql_fetchrow($result))
|
||||
$avatar_img = $config['avatar_gallery_path'] . '/';
|
||||
break;
|
||||
}
|
||||
$avatar_img .= $row['user_avatar'];
|
||||
|
||||
$avatar_img .= $row['user_avatar'];
|
||||
$user_cache[$poster_id]['avatar'] = '<img src="' . $avatar_img . '" width="' . $row['user_avatar_width'] . '" height="' . $row['user_avatar_height'] . '" alt="" />';
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user