mirror of
https://github.com/vichan-devel/vichan.git
synced 2024-12-11 23:36:02 +01:00
Fix global report when failed CAPTCHA
This commit is contained in:
parent
79168cc4e1
commit
62e491a1e4
2
post.php
2
post.php
@ -159,7 +159,7 @@ if (isset($_POST['delete'])) {
|
||||
$captcha = null;
|
||||
}
|
||||
|
||||
$body = Element('report.html', array('board' => $board, 'config' => $config, 'error' => $error, 'reason_prefill' => $_POST['reason'], 'post' => 'delete_'.$report[0], 'captcha' => $captcha));
|
||||
$body = Element('report.html', array('board' => $board, 'config' => $config, 'error' => $error, 'reason_prefill' => $_POST['reason'], 'post' => 'delete_'.$report[0], 'captcha' => $captcha, 'global' => isset($_POST['global'])));
|
||||
echo Element('page.html', ['config' => $config, 'body' => $body]);
|
||||
die();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user