1
0
mirror of https://tt-rss.org/git/tt-rss.git synced 2024-06-20 11:16:36 +02:00

fix title and content filters only working on title (closes #512)

This commit is contained in:
Andrew Dolgov 2012-11-13 09:31:12 +04:00
parent cc616ea162
commit 72d1d0678e

View File

@ -1391,7 +1391,7 @@
$match = @preg_match("/$reg_exp/i", $content);
break;
case "both":
$match = (@preg_match("/$reg_exp/i", $title) || @preg_match("/$reg_exp/i", $title));
$match = (@preg_match("/$reg_exp/i", $title) || @preg_match("/$reg_exp/i", $content));
break;
case "link":
$match = @preg_match("/$reg_exp/i", $link);