]> git.wh0rd.org - tt-rss.git/blobdiff - classes/feeds.php
force ngettext() count argument type to string
[tt-rss.git] / classes / feeds.php
index 8f101e5cb774e46c74f027fd9100665d1d2bb423..e0756b6640a6a43a88c83bd1891e109d242ece1b 100755 (executable)
@@ -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) {