Merge pull request #692 from Zankaria/simple-antispam

Prettier simple-antispam documentation
This commit is contained in:
Lorenzo Yario authored and GitHub committed 2024-03-16 15:39:57 -07:00
commit 0c3159673d
2 files changed
+8 -10

No files matched your search

+1 -1
View File
@@ -563,7 +563,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']);
}