summaryrefslogtreecommitdiff
path: root/classes/feeds.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2017-01-22 10:18:43 +0300
committerAndrew Dolgov <[email protected]>2017-01-22 10:18:43 +0300
commit967f0619c781a01a67f1d3c69946f63d5a4c1e54 (patch)
treef6a2ce79924dd924985b2f52b2666dc371d9a3ef /classes/feeds.php
parent0047f2578f126cb6de2eed928e86ed7340c3854d (diff)
force ngettext() count argument type to string
Diffstat (limited to 'classes/feeds.php')
-rwxr-xr-xclasses/feeds.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/feeds.php b/classes/feeds.php
index 8f101e5cb..e0756b664 100755
--- a/classes/feeds.php
+++ b/classes/feeds.php
@@ -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) {