makefeedtree: properly calculate feed total amount in no-categories mode

master
Andrew Dolgov 5 years ago
parent e887d68f21
commit 12a542977e

@ -312,7 +312,7 @@ class Pref_Feeds extends Handler_Protected {
array_push($root['items'], $feed); array_push($root['items'], $feed);
} }
$root['param'] = vsprintf(_ngettext('(%d feed)', '(%d feeds)', count($cat['items'])), count($cat['items'])); $root['param'] = vsprintf(_ngettext('(%d feed)', '(%d feeds)', count($root['items'])), count($root['items']));
} }
$fl = array(); $fl = array();

Loading…
Cancel
Save