1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2026-01-30 13:57:11 +00:00

force ngettext() count argument type to string

This commit is contained in:
Andrew Dolgov
2017-01-22 10:18:43 +03:00
parent 0047f2578f
commit 967f0619c7
5 changed files with 8 additions and 8 deletions

View File

@@ -741,7 +741,7 @@ class Feeds extends Handler_Protected {
<a title=\"".__('Edit tags for this article')."\"
href=\"#\" onclick=\"editArticleTags($id)\">(+)</a>";
$num_comments = $line["num_comments"];
$num_comments = (int) $line["num_comments"];
$entry_comments = "";
if ($num_comments > 0) {