mirror of
https://github.com/vichan-devel/vichan.git
synced 2024-12-01 18:47:20 +01:00
< should be <= in this case
This commit is contained in:
parent
f041db1ebb
commit
a15224896c
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($post['file'], $post['thumb']);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user