aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB')
-rw-r--r--phpBB/posting.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/phpBB/posting.php b/phpBB/posting.php
index 0ecaaae392..10941974a5 100644
--- a/phpBB/posting.php
+++ b/phpBB/posting.php
@@ -252,8 +252,7 @@ function remove_old_words($post_id)
$sql = "SELECT word_id, COUNT(post_id) AS post_occur_count
FROM " . SEARCH_MATCH_TABLE . "
WHERE word_id IN ($word_id_sql)
- GROUP BY word_id
- ORDER BY post_occur_count DESC";
+ GROUP BY word_id";
if( !$result = $db->sql_query($sql) )
{
message_die(GENERAL_ERROR, "Couldn't obtain search word sums", "", __LINE__, __FILE__, $sql);