mirror of
https://github.com/vichan-devel/vichan.git
synced 2025-02-20 04:31:23 +01:00
allow moving threads with non-image uploads
This commit is contained in:
parent
36a34be39f
commit
ee19d2b68f
@ -1048,7 +1048,7 @@ function mod_move($originBoard, $postID) {
|
||||
if ($post['has_file']) {
|
||||
// copy image
|
||||
$clone($file_src, sprintf($config['board_path'], $board['uri']) . $config['dir']['img'] . $post['file']);
|
||||
if (!in_array($post['thumb'], array('spoiler', 'deleted')))
|
||||
if (!in_array($post['thumb'], array('spoiler', 'deleted', 'file')))
|
||||
$clone($file_thumb, sprintf($config['board_path'], $board['uri']) . $config['dir']['thumb'] . $post['thumb']);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user