Minor format post.php

This commit is contained in:
Zankaria 2024-01-16 18:01:13 +00:00
parent 56b6d6b1aa
commit df2fe0e60f

View file

@ -396,11 +396,12 @@ function handle_report()
checkDNSBL(); checkDNSBL();
// Check if board exists // Check if board exists.
if (!openBoard($_POST['board'])) if (!openBoard($_POST['board'])) {
error($config['error']['noboard']); error($config['error']['noboard']);
}
// Check if banned // Check if banned.
checkBan($board['uri']); checkBan($board['uri']);
if (empty($report)) { if (empty($report)) {