1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-11-25 16:00:22 +01:00

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

This commit is contained in:
Savetheinternet 2011-03-14 15:57:12 +11:00
parent 34306a1fa5
commit c5b518e3c3

View File

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