< should be <= in this case

This commit is contained in:
Savetheinternet 2011-04-12 22:58:55 +10:00
parent 5f94009fad
commit 4c6c5b906e

View File

@ -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, because there's nothing to resize
copy($post['file'], $post['thumb']); copy($post['file'], $post['thumb']);