From edefcec19d43c261c5bd5ee7382149581757058e Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 14 Aug 2017 22:29:50 +0300 Subject: [PATCH] filters/edit: properly parse feed-specific legacy format filter rules --- classes/pref/filters.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/pref/filters.php b/classes/pref/filters.php index 268c488c..6ea233cb 100755 --- a/classes/pref/filters.php +++ b/classes/pref/filters.php @@ -409,7 +409,7 @@ class Pref_Filters extends Handler_Protected { if (sql_bool_to_bool($line["cat_filter"])) { $feed_id = "CAT:" . (int)$line["cat_id"]; } else { - $feed_id = (int)$line["cat_id"]; + $feed_id = (int)$line["feed_id"]; } $line["feed_id"] = ["" . $feed_id]; // set item type to string for in_array() -- 2.39.5