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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user