From 62e491a1e407344ad89c3911cc2eaba2d656e32c Mon Sep 17 00:00:00 2001 From: 8chan Date: Sat, 25 Apr 2015 18:06:57 -0700 Subject: [PATCH] Fix global report when failed CAPTCHA --- post.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/post.php b/post.php index 21e7f9fe..7d8a0bc7 100644 --- a/post.php +++ b/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(); }