mirror of
https://github.com/vichan-devel/vichan.git
synced 2024-11-23 23:20:57 +01:00
When moving a post, add condition (post is Thread) before trying to make Thread for post. Removes "Thread Does not exist" page that showed up even when a post was successfully moved between threads.
This commit is contained in:
parent
191dbd3be0
commit
812a111107
@ -1257,9 +1257,11 @@ function mod_move_reply($originBoard, $postID) {
|
||||
|
||||
// build index
|
||||
buildIndex();
|
||||
// build new thread
|
||||
buildThread($newID);
|
||||
|
||||
if ($post['op']) {
|
||||
// build new thread
|
||||
buildThread($newID);
|
||||
}
|
||||
|
||||
// trigger themes
|
||||
rebuildThemes('post', $targetBoard);
|
||||
// mod log
|
||||
|
Loading…
Reference in New Issue
Block a user