revert back load_filters-related changes
This commit is contained in:
parent
cd962dfa00
commit
b150e46a52
|
@ -1848,7 +1848,7 @@ class Feeds extends Handler_Protected {
|
||||||
if ($feed) {
|
if ($feed) {
|
||||||
return $feed->cat_id;
|
return $feed->cat_id;
|
||||||
} else {
|
} else {
|
||||||
return null;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1713,9 +1713,9 @@ class RSSUtils {
|
||||||
$filters = array();
|
$filters = array();
|
||||||
|
|
||||||
$feed_id = (int) $feed_id;
|
$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";
|
$null_cat_qpart = "cat_id IS NULL OR";
|
||||||
else
|
else
|
||||||
$null_cat_qpart = "";
|
$null_cat_qpart = "";
|
||||||
|
|
Loading…
Reference in New Issue