From 899a98c503311963fae3e2cbdcad6ffae4ad838e Mon Sep 17 00:00:00 2001 From: 27chan <27chan@openmailbox.org> Date: Wed, 26 Jul 2017 22:22:34 -0300 Subject: [PATCH] Fix error in report threads and replys --- post.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/post.php b/post.php index bef4b3c2..f9d63e19 100644 --- a/post.php +++ b/post.php @@ -288,7 +288,7 @@ if (isset($_POST['delete'])) { if (empty($report)) error($config['error']['noreport']); - if (strlen($report) > 30) + if (sizeof($report) > 30) error($config['error']['invalidreport']); if (count($report) > $config['report_limit'])