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:
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user