better error

This commit is contained in:
Your Name 2023-09-12 02:04:38 +02:00 committed by Zankaria
parent a3a1e8e55e
commit fdaa4ebdd1
2 changed files with 2 additions and 1 deletions

View file

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