mirror of
https://github.com/phpbb/phpbb.git
synced 2025-05-13 02:55:20 +02:00
[ticket/11923] Attempt to translate errors only if user can change avatar.
PHPBB3-11923
This commit is contained in:
parent
852b707b48
commit
c7b88ee1d1
@ -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…
x
Reference in New Issue
Block a user