Merge pull request #345 from discomrade/reporttoolong-fix

Fix typos in https://github.com/towards-a-new-leftypol/leftypol_lainchan/pull/336
This commit is contained in:
nonmakina 2021-07-24 13:33:57 +02:00 committed by GitHub
commit 5abdabe115
2 changed files with 2 additions and 2 deletions

View file

@ -320,7 +320,7 @@ function handle_report(){
error($config['error']['noreport']);
if (strlen($_POST['reason']) > $config['report_max_length'])
error($config['error']['reporttoolong']);
error($config['error']['toolongreport']);
if (count($report) > $config['report_limit'])
error($config['error']['toomanyreports']);