mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-07 20:08:53 +00:00
Fixed URL backward compatibility
git-svn-id: file:///svn/phpbb/trunk@90 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
c4e6b3ec78
commit
80a8394b1e
1 changed files with 5 additions and 1 deletions
|
@ -23,10 +23,14 @@
|
|||
include('extension.inc');
|
||||
include('common.'.$phpEx);
|
||||
|
||||
if(!isset($topic_id))
|
||||
if(!isset($HTTP_GET_VARS['topic'])) // For backward compatibility
|
||||
{
|
||||
$topic_id = $HTTP_GET_VARS[POST_TOPIC_URL];
|
||||
}
|
||||
else
|
||||
{
|
||||
$topic_id = $HTTP_GET_VARS['topic'];
|
||||
}
|
||||
|
||||
$is_moderator = 0;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue