aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/viewtopic.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/viewtopic.php')
-rw-r--r--phpBB/viewtopic.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/viewtopic.php b/phpBB/viewtopic.php
index baef239f19..4181b8ac24 100644
--- a/phpBB/viewtopic.php
+++ b/phpBB/viewtopic.php
@@ -195,7 +195,7 @@ if (!($topic_data = $db->sql_fetchrow($result)))
extract($topic_data);
// We make this check here because the correct forum_id is determined
-$topic_replies = ($auth->acl_get('m_approve', $forum_id) ? $topic_replies_real : $topic_replies;
+$topic_replies = ($auth->acl_get('m_approve', $forum_id)) ? $topic_replies_real : $topic_replies;
unset($topic_replies_real);
if ($user->data['user_id'] != ANONYMOUS)