Item: $item.total_comments_num as string
This commit is contained in:
parent
dd25c7db7e
commit
f058414ff1
|
@ -283,7 +283,7 @@ class Item extends BaseObject {
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($this->is_toplevel()) {
|
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);
|
$result['total_comments_text'] = tt('comment', 'comments', $total_children);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue