[ticket/17212] Add comment on the need for updating session info

PHPBB3-17212
This commit is contained in:
Marc Alexander 2023-11-09 21:10:07 +01:00
parent 613582e2c5
commit c098468699
No known key found for this signature in database
GPG key ID: 50E0D2423696F995

View file

@ -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'];