diff options
| author | Jason Puglisi <jason@puglisi.im> | 2015-02-26 22:51:45 -0500 |
|---|---|---|
| committer | Jason Puglisi <jason@puglisi.im> | 2015-02-26 22:51:45 -0500 |
| commit | 6d28f9c98e8b436e0f79f0abb56f4d706fe3722d (patch) | |
| tree | 8b92592ec6fd8d6ba4b0e346eca39cd718004c53 | |
| parent | a93f168c79a0c8137a6d9032d42e598469b4b072 (diff) | |
Fixed error that would prevent posting without ['mod']
| -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"); } |
