From 16b6548b4a18402055f30286be38d68eff81f817 Mon Sep 17 00:00:00 2001 From: Savetheinternet Date: Wed, 3 Nov 2010 22:58:33 +1100 Subject: Increased subject length --- post.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'post.php') diff --git a/post.php b/post.php index ab7ba05f..4fc5ce98 100644 --- a/post.php +++ b/post.php @@ -97,7 +97,7 @@ // Check string lengths if(strlen($post['name']) > 25) error(sprintf(ERROR_TOOLONG, 'name')); if(strlen($post['email']) > 30) error(sprintf(ERROR_TOOLONG, 'email')); - if(strlen($post['subject']) > 25) error(sprintf(ERROR_TOOLONG, 'subject')); + if(strlen($post['subject']) > 40) error(sprintf(ERROR_TOOLONG, 'subject')); if(strlen($post['body']) > MAX_BODY) error(ERROR_TOOLONGBODY); if(!(!$OP && $post['has_file']) && strlen($post['body']) < 1) error(ERROR_TOOSHORTBODY); if(strlen($post['password']) > 20) error(sprintf(ERROR_TOOLONG, 'password')); -- cgit v1.3