forked from leftypol/leftypol
better error
This commit is contained in:
parent
a3a1e8e55e
commit
fdaa4ebdd1
2 changed files with 2 additions and 1 deletions
2
post.php
2
post.php
|
@ -485,7 +485,7 @@ function handle_post(){
|
|||
|
||||
if (isset($config['simple_spam']) && $post['op']) {
|
||||
if(!isset($_POST['simple_spam']) || $config['simple_spam']['answer'] != $_POST['simple_spam']){
|
||||
error($config['error']['spam']);
|
||||
error($config['error']['simple_spam']);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue