forked from leftypol/leftypol
Increased subject length
This commit is contained in:
parent
6bbc27767e
commit
16b6548b4a
2 changed files with 2 additions and 2 deletions
2
post.php
2
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'));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue