mirror of
https://github.com/vichan-devel/vichan.git
synced 2024-11-23 23:20:57 +01:00
make case-insensitive
This commit is contained in:
parent
954bb08762
commit
f48cf068d6
2
post.php
2
post.php
@ -559,7 +559,7 @@ if (isset($_POST['delete'])) {
|
||||
|
||||
if (!$dropped_post) {
|
||||
if (isset($config['simple_spam']) && $config['simple_spam'] && $post['op']) {
|
||||
if (!isset($_POST['simple_spam']) || $config['simple_spam']['answer'] != $_POST['simple_spam']) {
|
||||
if (!isset($_POST['simple_spam']) || strtolower($config['simple_spam']['answer']) != strtolower($_POST['simple_spam'])) {
|
||||
error($config['error']['simple_spam']);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user