From 93e7839747d258422aceedcecad27927c9795d49 Mon Sep 17 00:00:00 2001 From: RealAngeleno Date: Sun, 25 Jun 2023 05:26:29 -0700 Subject: [PATCH] Update post.php --- post.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/post.php b/post.php index be89ee4f..0f127da1 100644 --- a/post.php +++ b/post.php @@ -820,7 +820,7 @@ if (isset($_POST['delete'])) { error(sprintf($config['error']['tooshort_body'], $config['min_body'])); if (mb_strlen($post['body']) < $config['min_body_op'] && $post['op']) error(sprintf($config['error']['tooshort_body_op'], $config['min_body_op'])); - if (!$mod && substr_count($post['body'], "\n") >= $config['max_lines']) + if (!$mod && substr_count($post['body'], "\n") >= $config['maximum_lines']) error($config['error']['toomanylines']); if (mb_strlen($post['password']) > 20) error(sprintf($config['error']['toolong'], 'password'));