mirror of
https://github.com/phpbb/phpbb.git
synced 2025-02-24 12:03:21 +01:00
Fix r9855 for #46765
Authorised by: bantu git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9882 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
2532b579ce
commit
d2420fe555
@ -4210,7 +4210,7 @@ function get_unread_topics_list($user_id = false, $sql_extra = '')
|
||||
$sql = 'SELECT topic_id
|
||||
FROM ' . TOPICS_TABLE . "
|
||||
WHERE topic_last_post_time > {$user->data['user_lastmark']}
|
||||
AND " . $db->sql_in_set('topic_id', array_keys($unread_topics_list), true, true) . '
|
||||
AND " . $db->sql_in_set('topic_id', $tracked_topics_list, true, true) . '
|
||||
AND ' . $db->sql_in_set('forum_id', $tracked_forums_list, true, true) . "
|
||||
$sql_extra
|
||||
ORDER BY topic_last_post_time DESC";
|
||||
|
Loading…
x
Reference in New Issue
Block a user