|
|
@ -820,7 +820,7 @@ if (isset($_POST['delete'])) { |
|
|
|
error(sprintf($config['error']['tooshort_body'], $config['min_body'])); |
|
|
|
if (mb_strlen($post['body']) < $config['min_body_op'] && $post['op']) |
|
|
|
error(sprintf($config['error']['tooshort_body_op'], $config['min_body_op'])); |
|
|
|
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')); |
|
|
|