make inverse mode of Both filter do be somewhat more logical

This commit is contained in:
Andrew Dolgov 2009-01-20 14:54:14 +01:00
parent 863be6cad6
commit d404ae81a5
1 changed files with 1 additions and 1 deletions

View File

@ -1529,7 +1529,7 @@
$inverse = $filter["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"]));
}
} else {