mirror of
https://github.com/vichan-devel/vichan.git
synced 2024-11-30 18:24:29 +01:00
wordfilters (non-regex) should be case-insensitive
This commit is contained in:
parent
cd30f3b0b9
commit
d404a40ce8
@ -1283,7 +1283,7 @@
|
|||||||
if(isset($filter[2]) && $filter[2]) {
|
if(isset($filter[2]) && $filter[2]) {
|
||||||
$body = preg_replace($filter[0], $filter[1], $body);
|
$body = preg_replace($filter[0], $filter[1], $body);
|
||||||
} else {
|
} else {
|
||||||
$body = str_replace($filter[0], $filter[1], $body);
|
$body = str_ireplace($filter[0], $filter[1], $body);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user