diff options
| author | Ruslan Uzdenov <rxu@mail.ru> | 2009-07-28 14:34:12 +0000 |
|---|---|---|
| committer | Ruslan Uzdenov <rxu@mail.ru> | 2009-07-28 14:34:12 +0000 |
| commit | d2420fe5550454871e784be846849d3e57dde5e8 (patch) | |
| tree | edaa19feb89a64ddad71f7874ee32fd8a3c888cb | |
| parent | 2532b579ce17a7a3a4866b7e787d8676dcef4ad6 (diff) | |
| download | forums-d2420fe5550454871e784be846849d3e57dde5e8.tar forums-d2420fe5550454871e784be846849d3e57dde5e8.tar.gz forums-d2420fe5550454871e784be846849d3e57dde5e8.tar.bz2 forums-d2420fe5550454871e784be846849d3e57dde5e8.tar.xz forums-d2420fe5550454871e784be846849d3e57dde5e8.zip | |
Fix r9855 for #46765
Authorised by: bantu
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9882 89ea8834-ac86-4346-8a33-228a782c2dd0
| -rw-r--r-- | phpBB/includes/functions.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php index 4badd69e9f..639e9aa899 100644 --- a/phpBB/includes/functions.php +++ b/phpBB/includes/functions.php @@ -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"; |
