mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-01 14:30:32 +02:00
- fixed some bugs
- changed attachment handling a bit - tried to remove target tags out of the code - do not add session ids to urls for bots as well as not creating a new session on each page view for them I bet i introduced some bugs too. ;) git-svn-id: file:///svn/phpbb/trunk@6364 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -1534,6 +1534,14 @@ if ($force_encoding != '')
|
||||
$user->lang['ENCODING'] = $force_encoding;
|
||||
}
|
||||
|
||||
// We overwrite $_REQUEST['f'] if there is no forum specified
|
||||
// to be able to display the correct online list.
|
||||
// One downside is that the user currently viewing this topic/post is not taken into account.
|
||||
if (empty($_REQUEST['f']))
|
||||
{
|
||||
$_REQUEST['f'] = $forum_id;
|
||||
}
|
||||
|
||||
// Output the page
|
||||
page_header($user->lang['VIEW_TOPIC'] .' - ' . $topic_data['topic_title']);
|
||||
|
||||
|
Reference in New Issue
Block a user