aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/viewtopic.php
diff options
context:
space:
mode:
authorHenry Sudhof <kellanved@phpbb.com>2009-08-14 15:55:50 +0000
committerHenry Sudhof <kellanved@phpbb.com>2009-08-14 15:55:50 +0000
commite1fa222dc56883f1f529e1efddd0b7a8d019cb14 (patch)
tree622bd6cab07b39ed528ddef216fd33b976d3bf24 /phpBB/viewtopic.php
parent84154098e78226c999ef90cb986e8f99613673fd (diff)
downloadforums-e1fa222dc56883f1f529e1efddd0b7a8d019cb14.tar
forums-e1fa222dc56883f1f529e1efddd0b7a8d019cb14.tar.gz
forums-e1fa222dc56883f1f529e1efddd0b7a8d019cb14.tar.bz2
forums-e1fa222dc56883f1f529e1efddd0b7a8d019cb14.tar.xz
forums-e1fa222dc56883f1f529e1efddd0b7a8d019cb14.zip
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
Diffstat (limited to 'phpBB/viewtopic.php')
-rw-r--r--phpBB/viewtopic.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/phpBB/viewtopic.php b/phpBB/viewtopic.php
index 1f42c041ff..2592b1be07 100644
--- a/phpBB/viewtopic.php
+++ b/phpBB/viewtopic.php
@@ -278,8 +278,6 @@ if (!$topic_data)
}
$forum_id = (int) $topic_data['forum_id'];
-$topic_id = (int) $topic_data['topic_id'];
-
// This is for determining where we are (page)
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'];