diff options
Diffstat (limited to 'phpBB/viewtopic.php')
| -rw-r--r-- | phpBB/viewtopic.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/phpBB/viewtopic.php b/phpBB/viewtopic.php index f8d21fbbec..bc96e31d38 100644 --- a/phpBB/viewtopic.php +++ b/phpBB/viewtopic.php @@ -32,6 +32,11 @@ if(isset($HTTP_GET_VARS[POST_TOPIC_URL])) { $topic_id = intval($HTTP_GET_VARS[POST_TOPIC_URL]); } +else if(isset($HTTP_GET_VARS['topic'])) +{ + $topic_id = intval($HTTP_GET_VARS['topic']); +} + if(isset($HTTP_GET_VARS[POST_POST_URL])) { $post_id = intval($HTTP_GET_VARS[POST_POST_URL]); |
