aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/viewtopic.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2004-07-17 18:51:29 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2004-07-17 18:51:29 +0000
commit9dcd7b45cb3b3d82474c0bdf955a1fd753eaa87a (patch)
treeae8544aff8421ff0dc7f65c7b336b63db91bc2a4 /phpBB/viewtopic.php
parent59767029a969b4cea2eacb38cb27fd784937f72e (diff)
downloadforums-9dcd7b45cb3b3d82474c0bdf955a1fd753eaa87a.tar
forums-9dcd7b45cb3b3d82474c0bdf955a1fd753eaa87a.tar.gz
forums-9dcd7b45cb3b3d82474c0bdf955a1fd753eaa87a.tar.bz2
forums-9dcd7b45cb3b3d82474c0bdf955a1fd753eaa87a.tar.xz
forums-9dcd7b45cb3b3d82474c0bdf955a1fd753eaa87a.zip
gah
git-svn-id: file:///svn/phpbb/trunk@4936 89ea8834-ac86-4346-8a33-228a782c2dd0
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)