From d0b25198139d005a34875b98f331ae6d7bea5db7 Mon Sep 17 00:00:00 2001 From: "Paul S. Owen" Date: Wed, 21 Nov 2001 01:21:03 +0000 Subject: [PATCH] Fixes small problem with MS Access git-svn-id: file:///svn/phpbb/trunk@1400 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/posting.php | 3 +-- 1 file changed, 1 insertion(+), 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);