revert back load_filters-related changes

master
Andrew Dolgov 4 years ago
parent cd962dfa00
commit b150e46a52

@ -1848,7 +1848,7 @@ class Feeds extends Handler_Protected {
if ($feed) {
return $feed->cat_id;
} else {
return null;
return false;
}
}

@ -1713,9 +1713,9 @@ class RSSUtils {
$filters = array();
$feed_id = (int) $feed_id;
$cat_id = Feeds::_cat_of_feed($feed_id);
$cat_id = (int)Feeds::_cat_of_feed($feed_id);
if (empty($cat_id))
if (!$cat_id)
$null_cat_qpart = "cat_id IS NULL OR";
else
$null_cat_qpart = "";

Loading…
Cancel
Save