diff options
| author | Michael Foster <savetheinternet@tinyboard.org> | 2013-08-21 20:54:46 +1000 |
|---|---|---|
| committer | Michael Foster <savetheinternet@tinyboard.org> | 2013-08-21 20:54:46 +1000 |
| commit | 72beacc1da12d3851330e229ff43c8ec6f2ce352 (patch) | |
| tree | 2faaa2924cf368039231acd14cb3adb998b74b89 | |
| parent | db8173fe62829644a6cdf2e6a787b2ec2244c15b (diff) | |
allow moving threads with non-image uploads
| -rw-r--r-- | inc/mod/pages.php | 2 |
1 files changed, 1 insertions, 1 deletions
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']); } |
