summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2012-11-13 09:31:12 +0400
committerAndrew Dolgov <[email protected]>2012-11-13 09:31:26 +0400
commit72d1d0678ed7f3c34c87fb14c855651ee6a8cd38 (patch)
treebb291a35f17c3a63d1575ea54dc8ee52eb954c45 /include
parentcc616ea162113e64b47f6e18f910d3f692df99ff (diff)
fix title and content filters only working on title (closes #512)
Diffstat (limited to 'include')
-rw-r--r--include/rssfuncs.php2
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);