1
0
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:
Henry Sudhof
2007-05-07 20:15:15 +00:00
parent b7939ba801
commit 42ea2b5e2d

View File

@ -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'];
}