diff options
| author | Marcin Łabanowski <marcin@6irc.net> | 2015-02-27 16:50:41 +0100 |
|---|---|---|
| committer | Marcin Łabanowski <marcin@6irc.net> | 2015-02-27 16:50:41 +0100 |
| commit | f51e72c63de889b8ce1904a993d008967f99b583 (patch) | |
| tree | 8b92592ec6fd8d6ba4b0e346eca39cd718004c53 | |
| parent | a93f168c79a0c8137a6d9032d42e598469b4b072 (diff) | |
| parent | 6d28f9c98e8b436e0f79f0abb56f4d706fe3722d (diff) | |
Merge pull request #123 from JasonPuglisi/master
Fixed not being able to post without 'mod' post variable set
| -rw-r--r-- | post.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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"); } |
