Permalink
Browse files
Fixed error that would prevent posting without ['mod']
- Loading branch information...
Showing
with
1 addition
and 1 deletion.
-
+1
−1
post.php
|
|
@@ -16,7 +16,7 @@ function strip_array($var) { |
|
|
$_POST = strip_array($_POST);
|
|
|
}
|
|
|
|
|
|
-if (!$_POST['mod'] && $config['board_locked']) {
|
|
|
+if ((!isset($_POST['mod']) || !$_POST['mod']) && $config['board_locked']) {
|
|
|
error("Board is locked");
|
|
|
}
|
|
|
|
|
|
|
0 comments on commit
6d28f9c