forked from GithubBackups/vichan
wordfilters (non-regex) should be case-insensitive
This commit is contained in:
parent
4b170b1336
commit
ac1f36bd16
@ -1283,7 +1283,7 @@
|
||||
if(isset($filter[2]) && $filter[2]) {
|
||||
$body = preg_replace($filter[0], $filter[1], $body);
|
||||
} else {
|
||||
$body = str_replace($filter[0], $filter[1], $body);
|
||||
$body = str_ireplace($filter[0], $filter[1], $body);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user