mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
Avatar preferencial display here too
git-svn-id: file:///svn/phpbb/trunk@4030 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
f3f3b44897
commit
f8a9ed5381
1 changed files with 1 additions and 1 deletions
|
@ -677,7 +677,7 @@ function show_profile($data)
|
|||
$user_id = $data['user_id'];
|
||||
|
||||
$poster_avatar = '';
|
||||
if (isset($data['user_avatar_type']) && $user_id && !empty($data['user_allowavatar']))
|
||||
if (isset($data['user_avatar_type']) && $user_id && !empty($data['user_allowavatar']) && $user->data['user_viewavatars'])
|
||||
{
|
||||
switch($data['user_avatar_type'])
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue