aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
authorPaul S. Owen <psotfx@users.sourceforge.net>2001-11-21 01:21:03 +0000
committerPaul S. Owen <psotfx@users.sourceforge.net>2001-11-21 01:21:03 +0000
commitd0b25198139d005a34875b98f331ae6d7bea5db7 (patch)
tree7998ea04880c9490b7e3af9f6193a5e353cb666b /phpBB
parent3f820f64c6f09c6e962fa85145df6275bb7f54de (diff)
downloadforums-d0b25198139d005a34875b98f331ae6d7bea5db7.tar
forums-d0b25198139d005a34875b98f331ae6d7bea5db7.tar.gz
forums-d0b25198139d005a34875b98f331ae6d7bea5db7.tar.bz2
forums-d0b25198139d005a34875b98f331ae6d7bea5db7.tar.xz
forums-d0b25198139d005a34875b98f331ae6d7bea5db7.zip
Fixes small problem with MS Access
git-svn-id: file:///svn/phpbb/trunk@1400 89ea8834-ac86-4346-8a33-228a782c2dd0
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);