mirror of
https://github.com/vichan-devel/vichan.git
synced 2025-02-21 21:19:36 +01:00
Fixed error that would prevent posting without ['mod']
This commit is contained in:
parent
a93f168c79
commit
6d28f9c98e
2
post.php
2
post.php
@ -16,7 +16,7 @@ if (get_magic_quotes_gpc()) {
|
|||||||
$_POST = strip_array($_POST);
|
$_POST = strip_array($_POST);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!$_POST['mod'] && $config['board_locked']) {
|
if ((!isset($_POST['mod']) || !$_POST['mod']) && $config['board_locked']) {
|
||||||
error("Board is locked");
|
error("Board is locked");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user