mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-25 04:38:53 +00:00
Merge branch '3.1.x'
This commit is contained in:
commit
0d93af8324
1 changed files with 6 additions and 2 deletions
|
@ -1929,8 +1929,12 @@ class acp_users
|
|||
}
|
||||
}
|
||||
|
||||
// Avatar manager is not initialized if avatars are disabled
|
||||
if (isset($phpbb_avatar_manager))
|
||||
{
|
||||
// Replace "error" strings with their real, localised form
|
||||
$error = $phpbb_avatar_manager->localize_errors($user, $error);
|
||||
}
|
||||
|
||||
$avatar = phpbb_get_user_avatar($user_row, 'USER_AVATAR', true);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue