mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
Correctly get unread status information for global announcements in search results.
Authorised by: bantu git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10339 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -653,6 +653,9 @@ if ($keywords || $author || $author_id || $search_id || $submit)
|
||||
$forums = $rowset = $shadow_topic_list = array();
|
||||
while ($row = $db->sql_fetchrow($result))
|
||||
{
|
||||
$row['forum_id'] = (int) $row['forum_id'];
|
||||
$row['topic_id'] = (int) $row['topic_id'];
|
||||
|
||||
if ($row['topic_status'] == ITEM_MOVED)
|
||||
{
|
||||
$shadow_topic_list[$row['topic_moved_id']] = $row['topic_id'];
|
||||
|
Reference in New Issue
Block a user