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