diff options
Diffstat (limited to 'inc/mod/pages.php')
| -rw-r--r-- | inc/mod/pages.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/inc/mod/pages.php b/inc/mod/pages.php index 84891e3b..f8eb64ab 100644 --- a/inc/mod/pages.php +++ b/inc/mod/pages.php @@ -1148,9 +1148,8 @@ 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 ($post['thumb'] != 'spoiler') { //trying to move/copy the spoiler thumb raises an error + if (!in_array($post['thumb'], array('spoiler', 'deleted'))) $clone($file_thumb, sprintf($config['board_path'], $board['uri']) . $config['dir']['thumb'] . $post['thumb']); - } } // go back to the original board to fetch replies |
