diff --git a/inc/mod/pages.php b/inc/mod/pages.php index 9167cfa0..e51bbd7d 100644 --- a/inc/mod/pages.php +++ b/inc/mod/pages.php @@ -1314,7 +1314,9 @@ function mod_move($originBoard, $postID) { $post['has_file'] = true; foreach ($post['files'] as $i => &$file) { $file['file_path'] = sprintf($config['board_path'], $board['uri']) . $config['dir']['img'] . $file['file']; - $file['thumb_path'] = sprintf($config['board_path'], $board['uri']) . $config['dir']['thumb'] . $file['thumb']; + + if (isset($file['thumb'])) + $file['thumb_path'] = sprintf($config['board_path'], $board['uri']) . $config['dir']['thumb'] . $file['thumb']; } } else { $post['has_file'] = false;