]> git.mxchange.org Git - friendica.git/commitdiff
Remove unused argument from L10n->tt() call in Model/Item.php
authorHypolite Petovan <hypolite@mrpetovan.com>
Fri, 28 Oct 2022 17:45:09 +0000 (13:45 -0400)
committerGitHub <noreply@github.com>
Fri, 28 Oct 2022 17:45:09 +0000 (13:45 -0400)
src/Model/Item.php

index 143b719bd3efbcf06d3206ef5d50ae8f3b7da5ed..db2eecdf6b16350ab365b2d4727ce2f7f75b9024 100644 (file)
@@ -3402,7 +3402,7 @@ class Item
                                        $percent = $option['replies'] / $question['voters'] * 100;
                                        $options[$key]['vote'] = DI::l10n()->tt('%2$s (%3$d%%, %1$d vote)', '%2$s (%3$d%%, %1$d votes)', $option['replies'], $option['name'], round($percent, 1));
                                } else {
-                                       $options[$key]['vote'] = DI::l10n()->tt('%2$s (%1$d vote)', '%2$s (%1$d votes)', $option['replies'], $option['name'], 0);
+                                       $options[$key]['vote'] = DI::l10n()->tt('%2$s (%1$d vote)', '%2$s (%1$d votes)', $option['replies'], $option['name']);
                                }
                        }