mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-27 21:58:52 +00:00
[ticket/12392] Fix avatar double assignment bug
PHPBB3-12392
This commit is contained in:
parent
48cc7961d4
commit
042ccce086
1 changed files with 0 additions and 3 deletions
|
@ -558,8 +558,6 @@ switch ($mode)
|
|||
$member['user_sig'] = generate_text_for_display($member['user_sig'], $member['user_sig_bbcode_uid'], $member['user_sig_bbcode_bitfield'], $parse_flags, true);
|
||||
}
|
||||
|
||||
$poster_avatar = phpbb_get_user_avatar($member);
|
||||
|
||||
// We need to check if the modules 'zebra' ('friends' & 'foes' mode), 'notes' ('user_notes' mode) and 'warn' ('warn_user' mode) are accessible to decide if we can display appropriate links
|
||||
$zebra_enabled = $friends_enabled = $foes_enabled = $user_notes_enabled = $warn_user_enabled = false;
|
||||
|
||||
|
@ -650,7 +648,6 @@ switch ($mode)
|
|||
'SIGNATURE' => $member['user_sig'],
|
||||
'POSTS_IN_QUEUE'=> $member['posts_in_queue'],
|
||||
|
||||
'AVATAR_IMG' => $poster_avatar,
|
||||
'PM_IMG' => $user->img('icon_contact_pm', $user->lang['SEND_PRIVATE_MESSAGE']),
|
||||
'EMAIL_IMG' => $user->img('icon_contact_email', $user->lang['EMAIL']),
|
||||
'JABBER_IMG' => $user->img('icon_contact_jabber', $user->lang['JABBER']),
|
||||
|
|
Loading…
Add table
Reference in a new issue