From fab3618afe502f3517329dd91b859602df9f970b Mon Sep 17 00:00:00 2001 From: Savetheinternet Date: Thu, 17 Feb 2011 21:20:04 +1100 Subject: Increased field limits --- post.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'post.php') diff --git a/post.php b/post.php index f830d1a5..5f343ff4 100644 --- a/post.php +++ b/post.php @@ -213,7 +213,7 @@ // Check string lengths if(strlen($post['name']) > 50) error(sprintf($config['error']['toolong'], 'name')); - if(strlen($post['email']) > 30) error(sprintf($config['error']['toolong'], 'email')); + 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(!(!$OP && $post['has_file']) && strlen($post['body']) < 1) error($config['error']['tooshortbody']); -- cgit v1.3