aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--phpBB/viewtopic.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/viewtopic.php b/phpBB/viewtopic.php
index add38f5f1b..a5dff6c412 100644
--- a/phpBB/viewtopic.php
+++ b/phpBB/viewtopic.php
@@ -23,13 +23,13 @@
include('extension.inc');
include('common.'.$phpEx);
-if(!isset($HTTP_GET_VARS['topic'])) // For backward compatibility
+if(!isset($HTTP_GET_VARS['topic_id'])) // For backward compatibility
{
$topic_id = $HTTP_GET_VARS[POST_TOPIC_URL];
}
else
{
- $topic_id = $HTTP_GET_VARS['topic'];
+ $topic_id = $HTTP_GET_VARS['topic_id'];
}
$is_moderator = 0;