From 4c6c5b906eb04a748e3c9d4186065f9cd2307448 Mon Sep 17 00:00:00 2001 From: Savetheinternet Date: Tue, 12 Apr 2011 22:58:55 +1000 Subject: [PATCH] < should be <= in this case --- post.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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']);