From d181f0ef36f4cfbc8726da21e4de864df3a6f3d2 Mon Sep 17 00:00:00 2001 From: Meik Sievertsen Date: Sun, 22 Feb 2009 19:17:10 +0000 Subject: append_sid wrapper + is_guest git-svn-id: file:///svn/phpbb/trunk@9338 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/viewtopic.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'phpBB/viewtopic.php') diff --git a/phpBB/viewtopic.php b/phpBB/viewtopic.php index 319ba31e1b..16b0f486ae 100644 --- a/phpBB/viewtopic.php +++ b/phpBB/viewtopic.php @@ -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); } -- cgit v1.2.1