forked from leftypol/leftypol
Merge pull request #123 from JasonPuglisi/master
Fixed not being able to post without 'mod' post variable set
This commit is contained in:
commit
f51e72c63d
1 changed files with 1 additions and 1 deletions
2
post.php
2
post.php
|
@ -16,7 +16,7 @@ if (get_magic_quotes_gpc()) {
|
|||
$_POST = strip_array($_POST);
|
||||
}
|
||||
|
||||
if (!$_POST['mod'] && $config['board_locked']) {
|
||||
if ((!isset($_POST['mod']) || !$_POST['mod']) && $config['board_locked']) {
|
||||
error("Board is locked");
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue