Merge pull request #692 from Zankaria/simple-antispam
Prettier simple-antispam documentation
This commit is contained in:
2
post.php
2
post.php
@@ -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']);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user