discomrade 2021-07-24 08:47:50 -02:00 committed by towards-a-new-leftypol
parent e0595f3d68
commit 52c5565625
2 changed files with 2 additions and 2 deletions

View File

@ -1154,7 +1154,7 @@
$config['error']['nodelete'] = _('You didn\'t select anything to delete.'); $config['error']['nodelete'] = _('You didn\'t select anything to delete.');
$config['error']['nodeletethread'] = _('You are not allowed to delete threads.'); $config['error']['nodeletethread'] = _('You are not allowed to delete threads.');
$config['error']['noreport'] = _('You didn\'t select anything to report.'); $config['error']['noreport'] = _('You didn\'t select anything to report.');
$config['error']['toolongreport'] = _('The reason was too long.'); $config['error']['toolongreport'] = _('The reason was too long.');
$config['error']['toomanyreports'] = _('You can\'t report that many posts at once.'); $config['error']['toomanyreports'] = _('You can\'t report that many posts at once.');
$config['error']['invalidpassword'] = _('Wrong password…'); $config['error']['invalidpassword'] = _('Wrong password…');
$config['error']['invalidimg'] = _('Invalid image.'); $config['error']['invalidimg'] = _('Invalid image.');

View File

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