mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-24 20:17:58 +02:00
git-svn-id: file:///svn/phpbb/trunk@7501 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@ -345,7 +345,7 @@ class filespec
|
||||
}
|
||||
|
||||
// Make sure the dimensions match a valid image
|
||||
if ($this->width < 2 || $this->height < 2)
|
||||
if (empty($this->width) || empty($this->height))
|
||||
{
|
||||
$this->error[] = $user->lang['ATTACHED_IMAGE_NOT_IMAGE'];
|
||||
}
|
||||
|
Reference in New Issue
Block a user