forked from GithubBackups/vichan
Fix error in report threads and replys
This commit is contained in:
parent
98cb2725eb
commit
899a98c503
2
post.php
2
post.php
@ -288,7 +288,7 @@ if (isset($_POST['delete'])) {
|
|||||||
if (empty($report))
|
if (empty($report))
|
||||||
error($config['error']['noreport']);
|
error($config['error']['noreport']);
|
||||||
|
|
||||||
if (strlen($report) > 30)
|
if (sizeof($report) > 30)
|
||||||
error($config['error']['invalidreport']);
|
error($config['error']['invalidreport']);
|
||||||
|
|
||||||
if (count($report) > $config['report_limit'])
|
if (count($report) > $config['report_limit'])
|
||||||
|
Loading…
x
Reference in New Issue
Block a user