Browse Source

Update post.php

main
RealAngeleno 11 months ago
committed by -
parent
commit
93e7839747
  1. 2
      post.php

2
post.php

@ -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'));

Loading…
Cancel
Save