Minor bugfix with public bans

This commit is contained in:
Savetheinternet 2011-11-30 14:35:59 +11:00
parent 8c2f6d978a
commit 4d9b845a7e

View File

@ -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']);