From 12a542977e3826dda37594fa01879d1bdad5a4f8 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 21 Aug 2019 19:32:27 +0300 Subject: [PATCH] makefeedtree: properly calculate feed total amount in no-categories mode --- classes/pref/feeds.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/pref/feeds.php b/classes/pref/feeds.php index c55affd77..f672a0375 100755 --- a/classes/pref/feeds.php +++ b/classes/pref/feeds.php @@ -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();