1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-11-23 23:20:57 +01:00

Fix error in report threads and replys

This commit is contained in:
27chan 2017-07-26 22:22:34 -03:00 committed by GitHub
parent 98cb2725eb
commit 899a98c503

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