1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2025-01-19 01:24:05 +01:00

Fixed B&D bug

This commit is contained in:
Savetheinternet 2011-03-15 23:20:37 +11:00
parent 10d51c49ce
commit f420cb5824

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