From f058414ff1119b921e36e5d48aa2b2d9d76d796c Mon Sep 17 00:00:00 2001 From: Fabrixxm Date: Fri, 28 Sep 2012 10:03:03 -0400 Subject: [PATCH] Item: $item.total_comments_num as string --- object/Item.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/object/Item.php b/object/Item.php index 04d52a896e..2c9d655981 100644 --- a/object/Item.php +++ b/object/Item.php @@ -283,7 +283,7 @@ class Item extends BaseObject { } if ($this->is_toplevel()) { - $result['total_comments_num'] = $total_children; + $result['total_comments_num'] = "$total_children"; $result['total_comments_text'] = tt('comment', 'comments', $total_children); } -- 2.39.5