mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-23 06:31:57 +00:00
filter_to_sql: fix for all feeds
This commit is contained in:
@@ -5101,8 +5101,8 @@
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (isset($rule["feed_id"])) {
|
if (isset($rule["feed_id"]) && $rule["feed_id"] > 0) {
|
||||||
$qpart .= " AND feed_id " . ($rule["feed_id"] ? '= ' . $rule["feed_id"] : 'IS NULL');
|
$qpart .= " AND feed_id = " . db_escape_string($rule["feed_id"]);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (isset($rule["cat_id"])) {
|
if (isset($rule["cat_id"])) {
|
||||||
|
|||||||
Reference in New Issue
Block a user