Minor bugfix with public bans
This commit is contained in:
parent
8c2f6d978a
commit
4d9b845a7e
4
mod.php
4
mod.php
@ -2123,7 +2123,9 @@
|
||||
|
||||
$query->execute() or error(db_error($query));
|
||||
|
||||
openBoard($_POST['board']);
|
||||
if(isset($_POST['board']))
|
||||
openBoard($_POST['board']);
|
||||
|
||||
// Delete too
|
||||
if(isset($_POST['delete']) && isset($_POST['board']) && hasPermission($config['mod']['delete'], $_POST['board'])) {
|
||||
$post = round($_POST['delete']);
|
||||
|
Loading…
Reference in New Issue
Block a user