diff options
| author | ctrlcctrlv <wizardchan@hush.com> | 2013-08-11 15:36:17 +0000 |
|---|---|---|
| committer | ctrlcctrlv <wizardchan@hush.com> | 2013-08-11 15:36:17 +0000 |
| commit | b9ec342750009037893e1bb06640905c6d88b5dd (patch) | |
| tree | 18d253df2e6acaf9d156c1742c233d51357af478 /inc/mod | |
| parent | efebd3022198995395859ddc07b1a48828ef1f89 (diff) | |
| parent | aeb33169eaa2c18cbf6d6791dc35e911136f983a (diff) | |
Merge conflict
Diffstat (limited to 'inc/mod')
| -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 |
