summaryrefslogtreecommitdiff
path: root/post.php
diff options
context:
space:
mode:
authorSavetheinternet <savetheinternet@n0v4.com>2011-03-26 18:43:19 +1100
committerSavetheinternet <savetheinternet@n0v4.com>2011-03-26 18:43:19 +1100
commit14ce367b03b959d4e6a5a37491c77b1ae7eb8455 (patch)
treeabbb600cff64a240314a29cac3d48e5fd28ef9ba /post.php
parent92310f445ca443bb6c83a372ba59761b15361c3b (diff)
fix tupo
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 91f68a68..3306a58e 100644
--- a/post.php
+++ b/post.php
@@ -283,7 +283,7 @@
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(!$mod && strlen($post['body']) > $config['max_body']) error($config['error']['toolongbody']);
+ 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'));