Merge branch 'master' of github.com:vichan-devel/Tinyboard

This commit is contained in:
czaks 2015-02-27 21:24:57 +01:00
commit eb245c2970

View File

@ -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");
}