From aa02cffb93fecaa871528ab88d25b03c6715fab2 Mon Sep 17 00:00:00 2001 From: Savetheinternet Date: Sat, 27 Aug 2011 12:11:34 +1000 Subject: increased subject max length to 100 characters --- post.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'post.php') diff --git a/post.php b/post.php index 8420c6a0..3c1bbaa3 100644 --- a/post.php +++ b/post.php @@ -313,7 +313,7 @@ // Check string lengths 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(strlen($post['subject']) > 100) error(sprintf($config['error']['toolong'], 'subject')); 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')); -- cgit v1.3