Browse Source

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

Andrew Dolgov 10 months ago
parent
commit
12a542977e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      classes/pref/feeds.php

+ 1 - 1
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();