From: Andrew Dolgov Date: Tue, 15 Sep 2015 17:55:08 +0000 (+0300) Subject: disable filter test result highlighting for the time being X-Git-Tag: 16.3~110 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=9a35ed6709c685a3b2759a9d20728741f67fa699;p=tt-rss.git disable filter test result highlighting for the time being --- diff --git a/classes/pref/filters.php b/classes/pref/filters.php index e2fedb11..d768a136 100755 --- a/classes/pref/filters.php +++ b/classes/pref/filters.php @@ -151,7 +151,7 @@ class Pref_Filters extends Handler_Protected { $tmp .= ""; - foreach ($filter['rules'] as $rule) { + /*foreach ($filter['rules'] as $rule) { $reg_exp = str_replace('/', '\/', $rule["reg_exp"]); $line["title"] = preg_replace("/($reg_exp)/i", @@ -159,7 +159,7 @@ class Pref_Filters extends Handler_Protected { $content_preview = preg_replace("/($reg_exp)/i", "$1", $content_preview); - } + }*/ $tmp .= "" . $line["title"] . "
"; $tmp .= $line['feed_title'] . ", " . mb_substr($line["date_entered"], 0, 16);