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:
parent
10d51c49ce
commit
f420cb5824
5
mod.php
5
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}");
|
||||
|
Loading…
x
Reference in New Issue
Block a user