summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Save <savetheinternet@tinyboard.org>2012-05-22 15:25:22 +1000
committerMichael Save <savetheinternet@tinyboard.org>2012-05-22 15:25:22 +1000
commit0c682f5cc33637882ee3c76f294a476b1bd0e3fb (patch)
treefbec582a7715f76b85d5d72e869dae6d1a962808
parentbb521da32e9cc33d5554ce9e85add4f2b143b9b6 (diff)
Missing buildIndex() after moving threads
-rw-r--r--inc/mod/pages.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/inc/mod/pages.php b/inc/mod/pages.php
index a3f19cd9..7278afa3 100644
--- a/inc/mod/pages.php
+++ b/inc/mod/pages.php
@@ -863,6 +863,8 @@ function mod_move($originBoard, $postID) {
$botID = post($post);
buildThread($postID);
+ buildIndex();
+
header('Location: ?/' . sprintf($config['board_path'], $originBoard) . $config['dir']['res'] .sprintf($config['file_page'], $postID) .
'#' . $botID, true, $config['redirect_http']);
} else {