summaryrefslogtreecommitdiff
path: root/mod.php
diff options
context:
space:
mode:
authorSavetheinternet <savetheinternet@n0v4.com>2011-03-15 23:20:37 +1100
committerSavetheinternet <savetheinternet@n0v4.com>2011-03-15 23:20:37 +1100
commit4a435d99a92bd65d9dda29333f68c2f0bcc7d96a (patch)
tree22c4dede14757ce128cd2d4f002d27b009732377 /mod.php
parentea90d9bb289fdad776f61bc133cfbfe0166f9e54 (diff)
Fixed B&D bug
Diffstat (limited to 'mod.php')
-rw-r--r--mod.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/mod.php b/mod.php
index 0e2289ca..56c0e38a 100644
--- a/mod.php
+++ b/mod.php
@@ -1025,7 +1025,10 @@
// Delete too
if($mod['type'] >= $config['mod']['delete'] && isset($_POST['delete']) && isset($_POST['board'])) {
openBoard($_POST['board']);
- deletePost(round($_POST['delete']));
+
+ $post = round($_POST['delete']);
+
+ deletePost($post);
// Record the action
modLog("Deleted post #{$post}");