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

This commit is contained in:
Andrew Dolgov 2019-08-21 19:32:27 +03:00
parent e887d68f21
commit 12a542977e
1 changed files with 1 additions and 1 deletions

View File

@ -312,7 +312,7 @@ class Pref_Feeds extends Handler_Protected {
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();