mirror of
https://github.com/vichan-devel/vichan.git
synced 2024-11-23 23:20:57 +01:00
Update post.php
This commit is contained in:
parent
728476ce99
commit
5df3ae6606
2
post.php
2
post.php
@ -730,7 +730,7 @@ if (isset($_POST['delete'])) {
|
||||
error(sprintf($config['error']['toolong'], 'subject'));
|
||||
if (!$mod && mb_strlen($post['body']) > $config['max_body'])
|
||||
error($config['error']['toolong_body']);
|
||||
if (!$mod && substr_count($post['body'], "\n") >= $config['max_lines'])
|
||||
if (!$mod && substr_count($post['body'], "\n") >= $config['maximum_lines'])
|
||||
error($config['error']['toomanylines']);
|
||||
if (mb_strlen($post['password']) > 20)
|
||||
error(sprintf($config['error']['toolong'], 'password'));
|
||||
|
Loading…
Reference in New Issue
Block a user