diff options
| author | Savetheinternet <savetheinternet@n0v4.com> | 2010-11-03 22:58:33 +1100 |
|---|---|---|
| committer | Savetheinternet <savetheinternet@n0v4.com> | 2010-11-03 22:58:33 +1100 |
| commit | 16b6548b4a18402055f30286be38d68eff81f817 (patch) | |
| tree | e508965025fa5386f5f632821f694eeafaf6567c /post.php | |
| parent | 6bbc27767e1b86d5e1ddb02cac85b9440d8df81e (diff) | |
Increased subject length
Diffstat (limited to 'post.php')
| -rw-r--r-- | post.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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'));
|
