mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-18 22:41:28 +02:00
[ticket/13713] Fix avatar display with new helper methods
PHPBB3-13713
This commit is contained in:
@@ -152,10 +152,7 @@ abstract class base_user implements source_interface
|
||||
'name' => $this->user_loader->get_username($user['user_id'], 'username'),
|
||||
'type' => 'u',
|
||||
'id' => $user['user_id'],
|
||||
'avatar' => [
|
||||
'type' => 'user',
|
||||
'img' => $this->user_loader->get_avatar($user['user_id']),
|
||||
],
|
||||
'avatar' => $this->user_loader->get_avatar($user['user_id']),
|
||||
'rank' => (isset($user_rank['rank_title'])) ? $user_rank['rank_title'] : '',
|
||||
'priority' => $this->get_priority($user),
|
||||
]);
|
||||
|
Reference in New Issue
Block a user