Fix error in report threads and replys
This commit is contained in:
1 parent
98cb2725eb
commit
899a98c503
1 file changed
+1
-1
@@ -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