mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-27 05:38:52 +00:00
[ticket/11923] Attempt to translate errors only if user can change avatar.
PHPBB3-11923
This commit is contained in:
parent
852b707b48
commit
c7b88ee1d1
1 changed files with 3 additions and 3 deletions
|
@ -658,10 +658,10 @@ class ucp_profile
|
|||
));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Replace "error" strings with their real, localised form
|
||||
$error = $phpbb_avatar_manager->localize_errors($user, $error);
|
||||
// Replace "error" strings with their real, localised form
|
||||
$error = $phpbb_avatar_manager->localize_errors($user, $error);
|
||||
}
|
||||
|
||||
$avatar = phpbb_get_user_avatar($user->data, 'USER_AVATAR', true);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue