From 9dcd7b45cb3b3d82474c0bdf955a1fd753eaa87a Mon Sep 17 00:00:00 2001 From: Meik Sievertsen Date: Sat, 17 Jul 2004 18:51:29 +0000 Subject: [PATCH] gah git-svn-id: file:///svn/phpbb/trunk@4936 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/viewtopic.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)