mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 20:38:52 +00:00
[ticket/17212] Add comment on the need for updating session info
PHPBB3-17212
This commit is contained in:
parent
613582e2c5
commit
c098468699
1 changed files with 1 additions and 0 deletions
|
@ -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'];
|
||||||
|
|
Loading…
Add table
Reference in a new issue