filters/edit: properly parse feed-specific legacy format filter rules

This commit is contained in:
Andrew Dolgov 2017-08-14 22:29:50 +03:00
parent 03c56b041f
commit edefcec19d
1 changed files with 1 additions and 1 deletions

View File

@ -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()