1
0
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:
Savetheinternet 2011-04-12 22:58:55 +10:00
parent f041db1ebb
commit a15224896c

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($post['file'], $post['thumb']);