1
0
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:
Marc Alexander
2021-05-04 21:06:41 +02:00
parent 169015eab4
commit 9ae015569c
3 changed files with 25 additions and 12 deletions

View File

@@ -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),
]);