summaryrefslogtreecommitdiff
path: root/inc/mod
diff options
context:
space:
mode:
authorctrlcctrlv <wizardchan@hush.com>2013-08-19 13:20:10 +0000
committerctrlcctrlv <wizardchan@hush.com>2013-08-19 13:20:10 +0000
commitfd398f82ed7c055840930e8511684d99b7695b79 (patch)
treef2f4f7046a950512cf7363c40488f5416ce78349 /inc/mod
parentaffad5594e62b830b76ba141a59c7042ca42494e (diff)
Fix reply moving
Diffstat (limited to 'inc/mod')
-rw-r--r--inc/mod/pages.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/inc/mod/pages.php b/inc/mod/pages.php
index 35713c27..6a9f07c7 100644
--- a/inc/mod/pages.php
+++ b/inc/mod/pages.php
@@ -1059,10 +1059,13 @@ function mod_move_reply($originBoard, $postID) {
}
}
+ // build index
buildIndex();
+ // build new thread
+ buildThread($newID);
// trigger themes
- rebuildThemes($post['op'] ? 'post-thread' : 'post');
+ rebuildThemes('post');
// mod log
modLog("Moved post #${postID} to " . sprintf($config['board_abbreviation'], $targetBoard) . " (#${newID})", $originBoard);