1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

[ticket/10630] Perform array_unique on authors array before creating the query

This is needed to avoid an additional appearance for an author for every
post he made.

PHPBB3-10630
This commit is contained in:
Joas Schilling
2012-02-20 02:14:23 +01:00
parent 4b2690f792
commit afcf9cbc86
2 changed files with 2 additions and 2 deletions

View File

@@ -1334,7 +1334,7 @@ class fulltext_native extends search_backend
$db->sql_query($sql);
}
$this->destroy_cache(array_unique($word_texts), $author_ids);
$this->destroy_cache(array_unique($word_texts), array_unique($author_ids));
}
/**