forked from leftypol/leftypol
wordfilters (non-regex) should be case-insensitive
This commit is contained in:
parent
cd30f3b0b9
commit
d404a40ce8
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue