forked from GithubBackups/vichan
Remove redundant check for existence of board
It already gets checked in line 217.
This commit is contained in:
parent
64e3f488d6
commit
d0e240acb7
4
post.php
4
post.php
@ -235,10 +235,6 @@ elseif (isset($_POST['post'])) {
|
|||||||
$post['thread'] = round($_POST['thread']);
|
$post['thread'] = round($_POST['thread']);
|
||||||
} else
|
} else
|
||||||
$post['op'] = true;
|
$post['op'] = true;
|
||||||
|
|
||||||
// Check if board exists
|
|
||||||
if (!openBoard($post['board']))
|
|
||||||
error($config['error']['noboard']);
|
|
||||||
|
|
||||||
// Check if banned
|
// Check if banned
|
||||||
checkBan($board['uri']);
|
checkBan($board['uri']);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user