forked from GithubBackups/vichan
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
|
// build index
|
||||||
buildIndex();
|
buildIndex();
|
||||||
// build new thread
|
if ($post['op']) {
|
||||||
buildThread($newID);
|
// build new thread
|
||||||
|
buildThread($newID);
|
||||||
|
}
|
||||||
|
|
||||||
// trigger themes
|
// trigger themes
|
||||||
rebuildThemes('post', $targetBoard);
|
rebuildThemes('post', $targetBoard);
|
||||||
// mod log
|
// mod log
|
||||||
|
Loading…
x
Reference in New Issue
Block a user