mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 18:55:55 +00:00
Switch from 'vsprintf' to 'sprintf' in another place.
This commit is contained in:
@@ -74,7 +74,7 @@ class Pref_Feeds extends Handler_Protected {
|
|||||||
$cat['items'] = $this->get_category_items($line['id']);
|
$cat['items'] = $this->get_category_items($line['id']);
|
||||||
|
|
||||||
$num_children = $this->calculate_children_count($cat);
|
$num_children = $this->calculate_children_count($cat);
|
||||||
$cat['param'] = vsprintf(_ngettext('(%d feed)', '(%d feeds)', (int) $num_children), $num_children);
|
$cat['param'] = sprintf(_ngettext('(%d feed)', '(%d feeds)', (int) $num_children), $num_children);
|
||||||
|
|
||||||
if ($num_children > 0 || $show_empty_cats)
|
if ($num_children > 0 || $show_empty_cats)
|
||||||
array_push($items, $cat);
|
array_push($items, $cat);
|
||||||
|
|||||||
Reference in New Issue
Block a user