]> git.wh0rd.org - tt-rss.git/blobdiff - include/functions2.php
force ngettext() count argument type to string
[tt-rss.git] / include / functions2.php
index 4535e62670a9d4217b4c20681d7464bfc6b706ac..28477a0cfd0c7447f5a0237eae0d5fca6f2d7eaf 100644 (file)
                                $line = $p->hook_render_article($line);
                        }
 
-                       $num_comments = $line["num_comments"];
+                       $num_comments = (int) $line["num_comments"];
                        $entry_comments = "";
 
                        if ($num_comments > 0) {