Merge pull request #242 from 27chan/master

Error in report
This commit is contained in:
Marcin Łabanowski 2017-07-27 03:25:30 +02:00 committed by GitHub
commit 19cb514ebb

View File

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