From 72d1d0678ed7f3c34c87fb14c855651ee6a8cd38 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 13 Nov 2012 09:31:12 +0400 Subject: fix title and content filters only working on title (closes #512) --- include/rssfuncs.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/rssfuncs.php') diff --git a/include/rssfuncs.php b/include/rssfuncs.php index d1c304a02..8e58d1e18 100644 --- a/include/rssfuncs.php +++ b/include/rssfuncs.php @@ -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); -- cgit v1.2.3