From 14ce367b03b959d4e6a5a37491c77b1ae7eb8455 Mon Sep 17 00:00:00 2001 From: Savetheinternet Date: Sat, 26 Mar 2011 18:43:19 +1100 Subject: [PATCH] fix tupo --- post.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/post.php b/post.php index 91f68a68..3306a58e 100644 --- a/post.php +++ b/post.php @@ -283,7 +283,7 @@ if(strlen($post['name']) > 50) error(sprintf($config['error']['toolong'], 'name')); if(strlen($post['email']) > 40) error(sprintf($config['error']['toolong'], 'email')); if(strlen($post['subject']) > 40) error(sprintf($config['error']['toolong'], 'subject')); - if(!$mod && strlen($post['body']) > $config['max_body']) error($config['error']['toolongbody']); + if(!$mod && strlen($post['body']) > $config['max_body']) error($config['error']['toolong_body']); if(!(!$OP && $post['has_file']) && strlen($post['body']) < 1) error($config['error']['tooshort_body']); if(strlen($post['password']) > 20) error(sprintf($config['error']['toolong'], 'password'));