1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 22:10:45 +02:00

append_sid wrapper + is_guest

git-svn-id: file:///svn/phpbb/trunk@9338 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Meik Sievertsen
2009-02-22 19:17:10 +00:00
parent b27add94f8
commit d181f0ef36
10 changed files with 50 additions and 43 deletions

View File

@@ -1583,10 +1583,9 @@ else if (!$all_marked_read)
/**
* @todo Do NOT overwrite a request variable.
*/
// We overwrite the 'f' request variable if there is no forum specified
// to be able to display the correct online list.
// We overwrite the 'f' request variable 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(phpbb_request::variable('f', '')))
if (!phpbb_request::variable('f', 0))
{
phpbb_request::overwrite('f', $forum_id);
}