make inverse mode of Both filter do be somewhat more logical
This commit is contained in:
parent
863be6cad6
commit
d404ae81a5
|
@ -1529,7 +1529,7 @@
|
||||||
$inverse = $filter["inverse"];
|
$inverse = $filter["inverse"];
|
||||||
|
|
||||||
if ($inverse) {
|
if ($inverse) {
|
||||||
if (!preg_match("/$reg_exp/i", $title) || !preg_match("/$reg_exp/i", $content)) {
|
if (!preg_match("/$reg_exp/i", $title) && !preg_match("/$reg_exp/i", $content)) {
|
||||||
array_push($matches, array($filter["action"], $filter["action_param"]));
|
array_push($matches, array($filter["action"], $filter["action_param"]));
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue