Browse Source

Prevents reports with too many characters

main
vholmes 7 years ago
committed by -
parent
commit
9a1f8e7b8a
  1. 3
      post.php

3
post.php

@ -294,6 +294,9 @@ if (isset($_POST['delete'])) {
if (empty($report))
error($config['error']['noreport']);
if (strlen($report) > 30)
error($config['error']['invalidreport']);
if (count($report) > $config['report_limit'])
error($config['error']['toomanyreports']);

Loading…
Cancel
Save