diff --git a/lib/helper/opCommunityTopicHelper.php b/lib/helper/opCommunityTopicHelper.php index 933c27b..db3f4cc 100644 --- a/lib/helper/opCommunityTopicHelper.php +++ b/lib/helper/opCommunityTopicHelper.php @@ -49,6 +49,8 @@ function op_api_community_topic($topic) 'member' => op_api_member($topic->getMember()), 'body' => nl2br($topic->getBody()), 'created_at' => $topic->getCreatedAt(), + 'updated_at' => $topic->getUpdatedAt(), + 'comment_num' => $topic->getCommunityTopicComment()->count(), ); }