1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2026-01-04 18:29:14 +00:00

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

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 {