From b17da5c8d84d3cea722513b2c62bfe7303bb1c97 Mon Sep 17 00:00:00 2001 From: discomrade Date: Sat, 24 Jul 2021 08:47:50 -0200 Subject: [PATCH] Fix typos in https://github.com/towards-a-new-leftypol/leftypol_lainchan/pull/336 --- inc/config.php | 2 +- post.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/inc/config.php b/inc/config.php index 1507abbb..6330389f 100644 --- a/inc/config.php +++ b/inc/config.php @@ -1154,7 +1154,7 @@ $config['error']['nodelete'] = _('You didn\'t select anything to delete.'); $config['error']['nodeletethread'] = _('You are not allowed to delete threads.'); $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']['invalidpassword'] = _('Wrong password…'); $config['error']['invalidimg'] = _('Invalid image.'); diff --git a/post.php b/post.php index 5a2fa32e..31a74b5e 100644 --- a/post.php +++ b/post.php @@ -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']);