Fix error in report threads and replys
This commit is contained in:
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'])
|
||||||
|
Reference in New Issue
Block a user