mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00: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
1 changed files with 1 additions and 1 deletions
|
@ -4210,7 +4210,7 @@ function get_unread_topics_list($user_id = false, $sql_extra = '')
|
||||||
$sql = 'SELECT topic_id
|
$sql = 'SELECT topic_id
|
||||||
FROM ' . TOPICS_TABLE . "
|
FROM ' . TOPICS_TABLE . "
|
||||||
WHERE topic_last_post_time > {$user->data['user_lastmark']}
|
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) . "
|
AND ' . $db->sql_in_set('forum_id', $tracked_forums_list, true, true) . "
|
||||||
$sql_extra
|
$sql_extra
|
||||||
ORDER BY topic_last_post_time DESC";
|
ORDER BY topic_last_post_time DESC";
|
||||||
|
|
Loading…
Add table
Reference in a new issue