summaryrefslogtreecommitdiff
path: root/mod.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod.php')
-rw-r--r--mod.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/mod.php b/mod.php
index 590bd2df..b44f502f 100644
--- a/mod.php
+++ b/mod.php
@@ -192,9 +192,10 @@
// Delete post
deletePost($post);
-
// Rebuild board
buildIndex();
+ // Redirect to board
+ header('Location: ?/' . sprintf(BOARD_PATH, $boardName) . FILE_INDEX, true, REDIRECT_HTTP);
} else {
error("Page not found.");
}