mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-07 17:27:16 +02:00
[ticket/17212] Add comment on the need for updating session info
PHPBB3-17212
This commit is contained in:
@@ -104,6 +104,7 @@ switch ($mode)
|
|||||||
trigger_error('NO_POST');
|
trigger_error('NO_POST');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Need to update session forum_id to valid value for proper viewonline information
|
||||||
if (!$forum_id)
|
if (!$forum_id)
|
||||||
{
|
{
|
||||||
$user->page['forum'] = (int) $topic_forum['forum_id'];
|
$user->page['forum'] = (int) $topic_forum['forum_id'];
|
||||||
|
Reference in New Issue
Block a user