From 72beacc1da12d3851330e229ff43c8ec6f2ce352 Mon Sep 17 00:00:00 2001 From: Michael Foster Date: Wed, 21 Aug 2013 20:54:46 +1000 Subject: [PATCH] allow moving threads with non-image uploads --- inc/mod/pages.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/mod/pages.php b/inc/mod/pages.php index 63e7266e..7df8f316 100644 --- a/inc/mod/pages.php +++ b/inc/mod/pages.php @@ -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']); }