aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_posting.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2007-05-07 21:21:40 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2007-05-07 21:21:40 +0000
commitcbb742ea8073a35fe812ba9da97faed2b8612d61 (patch)
treeef487e255b57a5f76b27be32b0e583e09fd94f8f /phpBB/includes/functions_posting.php
parent383e27dba8057fbbafc83590bc6a98ce774b8634 (diff)
downloadforums-cbb742ea8073a35fe812ba9da97faed2b8612d61.tar
forums-cbb742ea8073a35fe812ba9da97faed2b8612d61.tar.gz
forums-cbb742ea8073a35fe812ba9da97faed2b8612d61.tar.bz2
forums-cbb742ea8073a35fe812ba9da97faed2b8612d61.tar.xz
forums-cbb742ea8073a35fe812ba9da97faed2b8612d61.zip
#10617
git-svn-id: file:///svn/phpbb/trunk@7503 89ea8834-ac86-4346-8a33-228a782c2dd0
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;
}