mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 22:55:55 +00:00
use orm for a bunch of short feed/cat queries
This commit is contained in:
@@ -1713,9 +1713,9 @@ class RSSUtils {
|
||||
$filters = array();
|
||||
|
||||
$feed_id = (int) $feed_id;
|
||||
$cat_id = (int)Feeds::_cat_of_feed($feed_id);
|
||||
$cat_id = Feeds::_cat_of_feed($feed_id);
|
||||
|
||||
if ($cat_id == 0)
|
||||
if (empty($cat_id))
|
||||
$null_cat_qpart = "cat_id IS NULL OR";
|
||||
else
|
||||
$null_cat_qpart = "";
|
||||
|
||||
Reference in New Issue
Block a user