mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-31 03:59:52 +02:00
[ticket/16345] Small improvements
PHPBB3-16346
This commit is contained in:
@@ -114,7 +114,7 @@ class gravatar extends \phpbb\avatar\driver\driver
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!empty($image_data) && ($image_data['width'] <= 0 || $image_data['width'] <= 0))
|
||||
if (!empty($image_data) && ($image_data['width'] <= 0 || $image_data['height'] <= 0))
|
||||
{
|
||||
$error[] = 'AVATAR_NO_SIZE';
|
||||
return false;
|
||||
|
Reference in New Issue
Block a user