Browse Source

[B&D] did not actually delete the post correctly

pull/40/head
Savetheinternet 13 years ago
parent
commit
e4e9a3b9bf
  1. 6
      mod.php

6
mod.php

@ -1026,6 +1026,12 @@
if($mod['type'] >= $config['mod']['delete'] && isset($_POST['delete']) && isset($_POST['board'])) { if($mod['type'] >= $config['mod']['delete'] && isset($_POST['delete']) && isset($_POST['board'])) {
openBoard($_POST['board']); openBoard($_POST['board']);
deletePost(round($_POST['delete'])); deletePost(round($_POST['delete']));
// Record the action
modLog("Deleted post #{$post}");
// Rebuild board
buildIndex();
} }
// Redirect // Redirect

Loading…
Cancel
Save