mirror of
https://git.tt-rss.org/fox/tt-rss.git
synced 2025-08-07 14:47:26 +02:00
filters: allow matching on tags if there are no tags
This commit is contained in:
parent
53bd56894d
commit
881f8805bd
@ -1526,6 +1526,8 @@ class RSSUtils {
|
||||
$match = @preg_match("/$reg_exp/iu", $author);
|
||||
break;
|
||||
case "tag":
|
||||
array_push($tags, ''); // allow matching if there are no tags
|
||||
|
||||
foreach ($tags as $tag) {
|
||||
if (@preg_match("/$reg_exp/iu", $tag)) {
|
||||
$match = true;
|
||||
|
Loading…
Reference in New Issue
Block a user