mirror of
https://github.com/Circlepuller/Tinyboard.git
synced 2025-01-17 13:28:31 +01:00
added fix from @Circlepuller to mod_move_reply also
thx @Cirlepuller
This commit is contained in:
parent
0846d0c784
commit
7529c83a00
@ -1167,6 +1167,7 @@ function mod_move_reply($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…
x
Reference in New Issue
Block a user