]> git.mxchange.org Git - friendica.git/commitdiff
Item: $item.total_comments_num as string
authorFabrixxm <fabrix.xm@gmail.com>
Fri, 28 Sep 2012 14:03:03 +0000 (10:03 -0400)
committerFabrixxm <fabrix.xm@gmail.com>
Fri, 28 Sep 2012 14:03:03 +0000 (10:03 -0400)
object/Item.php

index 04d52a896e31624ce61df193622dd47673a9786e..2c9d65598117c05f0d27e1817cb85c7f66ae9020 100644 (file)
@@ -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);
         }