Fixed B&D bug

This commit is contained in:
Savetheinternet 2011-03-15 23:20:37 +11:00
parent ea90d9bb28
commit 4a435d99a9

View File

@ -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}");