mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-28 04:20:32 +02:00
git-svn-id: file:///svn/phpbb/trunk@7503 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -580,7 +580,7 @@ function create_thumbnail($source, $destination, $mimetype)
|
||||
|
||||
list($width, $height, $type, ) = $dimension;
|
||||
|
||||
if ($width < 2 || $height < 2)
|
||||
if (empty($width) || empty($height))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
Reference in New Issue
Block a user