1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-24 03:01:29 +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

@@ -1316,7 +1316,7 @@
$line = $p->hook_render_article($line);
}
$num_comments = $line["num_comments"];
$num_comments = (int) $line["num_comments"];
$entry_comments = "";
if ($num_comments > 0) {