mirror of
https://github.com/vichan-devel/vichan.git
synced 2024-11-28 01:10:51 +01:00
fix tupo
This commit is contained in:
parent
92310f445c
commit
14ce367b03
2
post.php
2
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'));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user