mirror of
https://github.com/phpbb/phpbb.git
synced 2025-02-13 03:54:57 +01:00
Not really a bug, as Admins indeed have to take care of such things. However, let's assume they knew what they were doing.
#10933 git-svn-id: file:///svn/phpbb/trunk@7580 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
031f9a1505
commit
f751aba4d6
@ -1971,7 +1971,8 @@ function avatar_process_user(&$error, $custom_userdata = false)
|
||||
}
|
||||
}
|
||||
}
|
||||
if ($config['avatar_max_width'] || $config['avatar_max_height'])
|
||||
if (($config['avatar_max_width'] || $config['avatar_max_height']) &&
|
||||
(($data['width'] != $userdata['user_avatar_width']) || $data['height'] != $userdata['user_avatar_height']))
|
||||
{
|
||||
if ($data['width'] > $config['avatar_max_width'] || $data['height'] > $config['avatar_max_height'])
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user