[ticket/500] Show correct number of replies in news and announcements
B3P-500
This commit is contained in:
@@ -321,8 +321,8 @@ class fetch_posts
|
||||
'icon_id' => $row['icon_id'],
|
||||
'topic_status' => $row['topic_status'],
|
||||
'forum_id' => $row['forum_id'],
|
||||
'topic_replies' => $row['topic_posts_approved'] + $row['topic_posts_unapproved'] + $row['topic_posts_softdeleted'],
|
||||
'topic_replies_real' => $row['topic_posts_approved'],
|
||||
'topic_replies' => $row['topic_posts_approved'] + $row['topic_posts_unapproved'] + $row['topic_posts_softdeleted'] - 1,
|
||||
'topic_replies_real' => $row['topic_posts_approved'] - 1,
|
||||
'topic_time' => $this->user->format_date($row['post_time']),
|
||||
'topic_last_post_time' => $row['topic_last_post_time'],
|
||||
'topic_title' => $row['topic_title'],
|
||||
|
||||
Reference in New Issue
Block a user