summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2019-08-21 19:32:27 +0300
committerAndrew Dolgov <[email protected]>2019-08-21 19:32:27 +0300
commit12a542977e3826dda37594fa01879d1bdad5a4f8 (patch)
treedeb6306506d3b8e3ab5bba09ab1863481ab06efe /classes
parente887d68f216b9b8bb59f735aa4701fb28dd11bfd (diff)
makefeedtree: properly calculate feed total amount in no-categories mode
Diffstat (limited to 'classes')
-rwxr-xr-xclasses/pref/feeds.php2
1 files changed, 1 insertions, 1 deletions
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();