1
0
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:
Meik Sievertsen
2007-05-07 21:21:40 +00:00
parent 383e27dba8
commit cbb742ea80
3 changed files with 4 additions and 4 deletions

View File

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