mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-08 17:56:52 +02:00
Fix bug #15729 - Global announcements marked as read if all new topics in forum are viewed
Authorised by: AcydBurn git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9926 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -251,6 +251,8 @@ function display_forums($root_data = '', $display_moderators = true, $return_mod
|
||||
}
|
||||
else
|
||||
{
|
||||
// Add 0 to forums array to mark global announcements correctly
|
||||
$forum_ids[] = 0;
|
||||
markread('topics', $forum_ids);
|
||||
$message = sprintf($user->lang['RETURN_FORUM'], '<a href="' . $redirect . '">', '</a>');
|
||||
}
|
||||
|
Reference in New Issue
Block a user