Prettier simple-antispam

This commit is contained in:
Zankaria committed 2024-03-15 16:08:45 +01:00
1 parent 3ac86a074a
commit d5109426d9
2 files changed
+8 -10

No files matched your search

+1 -1
View File
@@ -558,7 +558,7 @@ if (isset($_POST['delete'])) {
if (!$dropped_post) {
if (isset($config['simple_spam']) && $config['simple_spam'] && $post['op']) {
if ($config['simple_spam'] && $post['op']) {
if (!isset($_POST['simple_spam']) || strtolower($config['simple_spam']['answer']) != strtolower($_POST['simple_spam'])) {
error($config['error']['simple_spam']);
}