From c0984686999985d9e9a1a7bf8575cab190018fbf Mon Sep 17 00:00:00 2001 From: Marc Alexander Date: Thu, 9 Nov 2023 21:10:07 +0100 Subject: [PATCH] [ticket/17212] Add comment on the need for updating session info PHPBB3-17212 --- phpBB/posting.php | 1 + 1 file changed, 1 insertion(+) diff --git a/phpBB/posting.php b/phpBB/posting.php index e188da8ffb..724d8a8df1 100644 --- a/phpBB/posting.php +++ b/phpBB/posting.php @@ -104,6 +104,7 @@ switch ($mode) trigger_error('NO_POST'); } + // Need to update session forum_id to valid value for proper viewonline information if (!$forum_id) { $user->page['forum'] = (int) $topic_forum['forum_id'];