summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
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);