mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
git-svn-id: file:///svn/phpbb/trunk@7501 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
b7939ba801
commit
42ea2b5e2d
1 changed files with 1 additions and 1 deletions
|
@ -345,7 +345,7 @@ class filespec
|
||||||
}
|
}
|
||||||
|
|
||||||
// Make sure the dimensions match a valid image
|
// 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'];
|
$this->error[] = $user->lang['ATTACHED_IMAGE_NOT_IMAGE'];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue