1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-26 03:22:37 +02:00

we are not supposed to know that yet

git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9984 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Henry Sudhof
2009-08-14 15:55:50 +00:00
parent 84154098e7
commit e1fa222dc5

View File

@@ -278,8 +278,6 @@ if (!$topic_data)
} }
$forum_id = (int) $topic_data['forum_id']; $forum_id = (int) $topic_data['forum_id'];
$topic_id = (int) $topic_data['topic_id'];
// This is for determining where we are (page) // This is for determining where we are (page)
if ($post_id) if ($post_id)
{ {
@@ -324,6 +322,7 @@ if ($post_id)
} }
} }
$topic_id = (int) $topic_data['topic_id'];
// //
$topic_replies = ($auth->acl_get('m_approve', $forum_id)) ? $topic_data['topic_replies_real'] : $topic_data['topic_replies']; $topic_replies = ($auth->acl_get('m_approve', $forum_id)) ? $topic_data['topic_replies_real'] : $topic_data['topic_replies'];