From 5df3ae6606d8fffd9dce686449547507bcb516b6 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 c0898cdd..cfea1207 100644 --- a/post.php +++ b/post.php @@ -730,7 +730,7 @@ if (isset($_POST['delete'])) { error(sprintf($config['error']['toolong'], 'subject')); if (!$mod && mb_strlen($post['body']) > $config['max_body']) error($config['error']['toolong_body']); - 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'));