aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/viewforum.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/viewforum.php')
-rw-r--r--phpBB/viewforum.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/phpBB/viewforum.php b/phpBB/viewforum.php
index ffda1c02b5..7e1bc7a5f6 100644
--- a/phpBB/viewforum.php
+++ b/phpBB/viewforum.php
@@ -312,6 +312,7 @@ if ($forum_data['forum_postable'])
foreach ($row_ary as $row)
{
$topic_id = $row['topic_id'];
+ $replies = ($auth->acl_get('m_approve', $forum_id)) ? $row['topic_replies_real'] : $row['topic_replies'];
// Type and folder
$topic_type = '';