summaryrefslogtreecommitdiff
path: root/post.php
diff options
context:
space:
mode:
authorSavetheinternet <savetheinternet@n0v4.com>2011-04-12 22:58:55 +1000
committerSavetheinternet <savetheinternet@n0v4.com>2011-04-12 22:58:55 +1000
commit4c6c5b906eb04a748e3c9d4186065f9cd2307448 (patch)
treea6083d2d06d7825c96e448e48aa35b4882390a40 /post.php
parent5f94009fad79ec2babaadb8e16e6f83f163d2964 (diff)
< should be <= in this case
Diffstat (limited to 'post.php')
-rw-r--r--post.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/post.php b/post.php
index ca3e344c..11222d98 100644
--- a/post.php
+++ b/post.php
@@ -416,7 +416,7 @@
- if($config['minimum_copy_resize'] && $post['width'] < $config['thumb_width'] && $post['height'] < $config['thumb_height']) {
+ if($config['minimum_copy_resize'] && $post['width'] <= $config['thumb_width'] && $post['height'] <= $config['thumb_height']) {
// Copy, because there's nothing to resize
copy($post['file'], $post['thumb']);