diff options
author | Andrew Dolgov <[email protected]> | 2012-11-13 09:31:12 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2012-11-13 09:31:26 +0400 |
commit | 72d1d0678ed7f3c34c87fb14c855651ee6a8cd38 (patch) | |
tree | bb291a35f17c3a63d1575ea54dc8ee52eb954c45 /include | |
parent | cc616ea162113e64b47f6e18f910d3f692df99ff (diff) |
fix title and content filters only working on title (closes #512)
Diffstat (limited to 'include')
-rw-r--r-- | include/rssfuncs.php | 2 |
1 files changed, 1 insertions, 1 deletions
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); |