mirror of
https://github.com/vichan-devel/vichan.git
synced 2024-11-24 07:30:10 +01:00
Dirty quick fix to allow moderation to move threads with deleted files
This commit is contained in:
parent
18aed77ecc
commit
64cf4b11ee
@ -1314,6 +1314,8 @@ 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'];
|
||||
|
||||
if (isset($file['thumb']))
|
||||
$file['thumb_path'] = sprintf($config['board_path'], $board['uri']) . $config['dir']['thumb'] . $file['thumb'];
|
||||
}
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user