mirror of
https://github.com/phpbb/phpbb.git
synced 2025-04-23 09:07:43 +02:00
fixed little bug in viewtopic
git-svn-id: file:///svn/phpbb/trunk@91 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
80a8394b1e
commit
e0e3f7df6d
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user