diff options
| author | Savetheinternet <savetheinternet@tinyboard.org> | 2011-08-27 12:11:34 +1000 |
|---|---|---|
| committer | Savetheinternet <savetheinternet@tinyboard.org> | 2011-08-27 12:11:34 +1000 |
| commit | aa02cffb93fecaa871528ab88d25b03c6715fab2 (patch) | |
| tree | cdcbd27744725b46291f6f529e69c32fd5e5b896 /post.php | |
| parent | 881ea101628ec03a199b87dafd6a560a69e6901e (diff) | |
increased subject max length to 100 characters
Diffstat (limited to 'post.php')
| -rw-r--r-- | post.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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')); |
