fix title and content filters only working on title (closes #512)
This commit is contained in:
parent
cc616ea162
commit
72d1d0678e
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue