fix broken feed tree generation when categories are disabled

This commit is contained in:
Andrew Dolgov 2021-08-18 21:02:58 +03:00
parent 5ed108dce4
commit 0808123179
1 changed files with 3 additions and 3 deletions

View File

@ -293,7 +293,7 @@ class Pref_Feeds extends Handler_Protected {
}
foreach ($feeds_obj->find_many() as $feed) {
array_push($cat['items'], [
array_push($root['items'], [
'id' => 'FEED:' . $feed->id,
'bare_id' => (int) $feed->id,
'auxcounter' => -1,