Skip to content
Browse files

Fixed error that would prevent posting without ['mod']

  • Loading branch information...
1 parent a93f168 commit 6d28f9c98e8b436e0f79f0abb56f4d706fe3722d @JasonPuglisi JasonPuglisi committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  post.php
View
2  post.php
@@ -16,7 +16,7 @@ function strip_array($var) {
$_POST = strip_array($_POST);
}
-if (!$_POST['mod'] && $config['board_locked']) {
+if ((!isset($_POST['mod']) || !$_POST['mod']) && $config['board_locked']) {
error("Board is locked");
}

0 comments on commit 6d28f9c

Please sign in to comment.
Something went wrong with that request. Please try again.