aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/posting.php
diff options
context:
space:
mode:
authorPaul S. Owen <psotfx@users.sourceforge.net>2001-11-23 21:09:37 +0000
committerPaul S. Owen <psotfx@users.sourceforge.net>2001-11-23 21:09:37 +0000
commit8618f81d77f2058332878f7c5a37247d0f2bc70f (patch)
treef4be7e08d16f9e04d8b7cdb533aa66d50def6e0c /phpBB/posting.php
parent8b7b50cdfbaa1a210dc131fcfee1c3f74b9e3774 (diff)
downloadforums-8618f81d77f2058332878f7c5a37247d0f2bc70f.tar
forums-8618f81d77f2058332878f7c5a37247d0f2bc70f.tar.gz
forums-8618f81d77f2058332878f7c5a37247d0f2bc70f.tar.bz2
forums-8618f81d77f2058332878f7c5a37247d0f2bc70f.tar.xz
forums-8618f81d77f2058332878f7c5a37247d0f2bc70f.zip
Small error in SQL for Postgres searchmatch clean
git-svn-id: file:///svn/phpbb/trunk@1429 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/posting.php')
-rw-r--r--phpBB/posting.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/posting.php b/phpBB/posting.php
index 81a653a1d9..db24368ac5 100644
--- a/phpBB/posting.php
+++ b/phpBB/posting.php
@@ -169,8 +169,8 @@ function remove_unmatched_words()
$sql = "DELETE FROM " . SEARCH_WORD_TABLE . "
WHERE word_id NOT IN (
SELECT word_id
- FROM " . SEARCH_MATCH_TABLE . ")
- GROUP BY word_id";
+ FROM " . SEARCH_MATCH_TABLE . "
+ GROUP BY word_id)";
$result = $db->sql_query($sql);
if( !$result )
{