Fix a rebuilding when moving (targetBoard -> originBoard)
This commit is contained in:
parent
0654d7f0ea
commit
b14dac6681
|
@ -1501,7 +1501,7 @@ function mod_move($originBoard, $postID) {
|
||||||
} else {
|
} else {
|
||||||
deletePost($postID);
|
deletePost($postID);
|
||||||
buildIndex();
|
buildIndex();
|
||||||
rebuildThemes('post', $targetBoard);
|
rebuildThemes('post', $originBoard);
|
||||||
|
|
||||||
openBoard($targetBoard);
|
openBoard($targetBoard);
|
||||||
header('Location: ?/' . sprintf($config['board_path'], $newboard['uri']) . $config['dir']['res'] . link_for($op, false, $newboard), true, $config['redirect_http']);
|
header('Location: ?/' . sprintf($config['board_path'], $newboard['uri']) . $config['dir']['res'] . link_for($op, false, $newboard), true, $config['redirect_http']);
|
||||||
|
|
Loading…
Reference in New Issue