diff options
| author | Joas Schilling <nickvergessen@gmx.de> | 2012-10-22 11:14:00 +0200 |
|---|---|---|
| committer | Joas Schilling <nickvergessen@gmx.de> | 2012-10-22 11:14:00 +0200 |
| commit | 9945561b4b58e4825fd2290ae1fbbb3d49fd3e7c (patch) | |
| tree | e97eabe9c1ad105d829473327661b29535a4f393 /phpBB/feed.php | |
| parent | 6c39563e9f7fad18f1425292dca652861f5e1cb6 (diff) | |
| download | forums-9945561b4b58e4825fd2290ae1fbbb3d49fd3e7c.tar forums-9945561b4b58e4825fd2290ae1fbbb3d49fd3e7c.tar.gz forums-9945561b4b58e4825fd2290ae1fbbb3d49fd3e7c.tar.bz2 forums-9945561b4b58e4825fd2290ae1fbbb3d49fd3e7c.tar.xz forums-9945561b4b58e4825fd2290ae1fbbb3d49fd3e7c.zip | |
[feature/soft-delete] Correctly calculate the number of replies everywhere
PHPBB3-9567
Diffstat (limited to 'phpBB/feed.php')
| -rw-r--r-- | phpBB/feed.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/feed.php b/phpBB/feed.php index aeb5abcc83..e33eddf9b4 100644 --- a/phpBB/feed.php +++ b/phpBB/feed.php @@ -724,7 +724,7 @@ class phpbb_feed_topic_base extends phpbb_feed_base { $item_row['statistics'] = $user->lang['POSTED'] . ' ' . $user->lang['POST_BY_AUTHOR'] . ' ' . $this->user_viewprofile($row) . ' ' . $this->separator_stats . ' ' . $user->format_date($row[$this->get('published')]) - . ' ' . $this->separator_stats . ' ' . $user->lang['REPLIES'] . ' ' . (($this->is_moderator_approve_forum($row['forum_id'])) ? $row['topic_replies_real'] : $row['topic_replies']) + . ' ' . $this->separator_stats . ' ' . $user->lang['REPLIES'] . ' ' . phpbb_content_visibility::get_count('topic_posts', $row, $row['forum_id']) - 1 . ' ' . $this->separator_stats . ' ' . $user->lang['VIEWS'] . ' ' . $row['topic_views'] . (($this->is_moderator_approve_forum($row['forum_id']) && ($row['topic_replies_real'] != $row['topic_replies'])) ? ' ' . $this->separator_stats . ' ' . $user->lang['POSTS_UNAPPROVED'] : ''); } |
