aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_posting.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/includes/functions_posting.php')
-rw-r--r--phpBB/includes/functions_posting.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/functions_posting.php b/phpBB/includes/functions_posting.php
index 4b8890178a..06ca808d9c 100644
--- a/phpBB/includes/functions_posting.php
+++ b/phpBB/includes/functions_posting.php
@@ -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;
}