diff options
| author | Savetheinternet <savetheinternet@n0v4.com> | 2011-02-11 23:02:30 +1100 |
|---|---|---|
| committer | Savetheinternet <savetheinternet@n0v4.com> | 2011-02-11 23:02:30 +1100 |
| commit | c34ea2e3af01d9a688fb14b3da550aa96615f312 (patch) | |
| tree | 8560552c1f92ce13452cca79172799491ff9b69a /post.php | |
| parent | 0346862645aa0b9a8ba0f0d929b336b08ff8fcf4 (diff) | |
a Fixed delete by IP, plus a bunch of small stuff
Diffstat (limited to 'post.php')
| -rw-r--r-- | post.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -221,7 +221,7 @@ if(strlen($post['name']) > 50) error(sprintf(ERROR_TOOLONG, 'name')); if(strlen($post['email']) > 30) error(sprintf(ERROR_TOOLONG, 'email')); if(strlen($post['subject']) > 40) error(sprintf(ERROR_TOOLONG, 'subject')); - if(strlen($post['body']) > MAX_BODY) error(ERROR_TOOLONGBODY); + if(!$mod && 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')); |
