summaryrefslogtreecommitdiff
path: root/mod.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod.php')
-rw-r--r--mod.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/mod.php b/mod.php
index 5688e614..3db8ea6d 100644
--- a/mod.php
+++ b/mod.php
@@ -1119,6 +1119,8 @@
deletePost($post['id'], false);
}
+ buildIndex();
+
if(isset($_SERVER['HTTP_REFERER']))
header('Location: ' . $_SERVER['HTTP_REFERER'], true, $config['redirect_http']);
else