From 95fd5953714a34030371f0a129a153090ded66e4 Mon Sep 17 00:00:00 2001 From: Bart van Bragt Date: Wed, 2 Jan 2002 19:55:45 +0000 Subject: Allowing old style URLs git-svn-id: file:///svn/phpbb/trunk@1778 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/viewtopic.php | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'phpBB/viewtopic.php') 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]); -- cgit v1.2.1