summaryrefslogtreecommitdiff
path: root/mod.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod.php')
-rw-r--r--mod.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/mod.php b/mod.php
index f1954b2f..e44ecde2 100644
--- a/mod.php
+++ b/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']);