< should be <= in this case
This commit is contained in:
parent
5f94009fad
commit
4c6c5b906e
2
post.php
2
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, because there's nothing to resize
|
||||||
copy($post['file'], $post['thumb']);
|
copy($post['file'], $post['thumb']);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user