mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-15 17:35:57 +00:00
fix broken feed tree generation when categories are disabled
This commit is contained in:
@@ -293,7 +293,7 @@ class Pref_Feeds extends Handler_Protected {
|
|||||||
}
|
}
|
||||||
|
|
||||||
foreach ($feeds_obj->find_many() as $feed) {
|
foreach ($feeds_obj->find_many() as $feed) {
|
||||||
array_push($cat['items'], [
|
array_push($root['items'], [
|
||||||
'id' => 'FEED:' . $feed->id,
|
'id' => 'FEED:' . $feed->id,
|
||||||
'bare_id' => (int) $feed->id,
|
'bare_id' => (int) $feed->id,
|
||||||
'auxcounter' => -1,
|
'auxcounter' => -1,
|
||||||
|
|||||||
Reference in New Issue
Block a user