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'])