summaryrefslogtreecommitdiff
path: root/inc/mod
diff options
context:
space:
mode:
authorczaks <marcin@6irc.net>2013-08-20 18:19:06 -0400
committerczaks <marcin@6irc.net>2013-08-20 18:19:06 -0400
commitf909fd190af4427dae1a8eddd4fa476c1243c433 (patch)
tree2b95b9f86510286bf291a28d9c63d5398bbfe54c /inc/mod
parentbb3f2d50756409a8c3aef704081b7cd7af0dd9ab (diff)
parent07bf8914e688486e0c9e879ed25cfa866f3efb59 (diff)
Merge branch 'master' of https://github.com/ctrlcctrlv/Tinyboard
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);