summaryrefslogtreecommitdiff
path: root/post.php
diff options
context:
space:
mode:
authorSavetheinternet <savetheinternet@n0v4.com>2011-02-17 21:20:04 +1100
committerSavetheinternet <savetheinternet@n0v4.com>2011-02-17 21:20:04 +1100
commitfab3618afe502f3517329dd91b859602df9f970b (patch)
tree153d4b0256ebf44b9da672d2d92924b0e5c4e9a3 /post.php
parent2b2d2ca6ed7ea5fda8ced787a12c1204004c4958 (diff)
Increased field limits
Diffstat (limited to 'post.php')
-rw-r--r--post.php2
1 files changed, 1 insertions, 1 deletions
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']);