aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/search/fulltext_native.php
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2012-02-20 02:14:23 +0100
committerJoas Schilling <nickvergessen@gmx.de>2012-02-20 02:17:13 +0100
commitafcf9cbc8617462853d3b42e4dfc9f1f46051e79 (patch)
treee020b6891e63941b1f3b58d3af1ce2bdefe57b0a /phpBB/includes/search/fulltext_native.php
parent4b2690f792d330622fd5409ded5f163db1b97bd9 (diff)
downloadforums-afcf9cbc8617462853d3b42e4dfc9f1f46051e79.tar
forums-afcf9cbc8617462853d3b42e4dfc9f1f46051e79.tar.gz
forums-afcf9cbc8617462853d3b42e4dfc9f1f46051e79.tar.bz2
forums-afcf9cbc8617462853d3b42e4dfc9f1f46051e79.tar.xz
forums-afcf9cbc8617462853d3b42e4dfc9f1f46051e79.zip
[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
Diffstat (limited to 'phpBB/includes/search/fulltext_native.php')
-rw-r--r--phpBB/includes/search/fulltext_native.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/search/fulltext_native.php b/phpBB/includes/search/fulltext_native.php
index 727e3aaffb..b63205fd76 100644
--- a/phpBB/includes/search/fulltext_native.php
+++ b/phpBB/includes/search/fulltext_native.php
@@ -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));
}
/**