Changed fixed table name to constant

git-svn-id: file:///svn/phpbb/trunk@1561 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Bart van Bragt 2001-12-14 01:59:24 +00:00
parent 44d257f440
commit c47ba95469

View file

@ -275,7 +275,7 @@ for(;$postcounter <= $max_post_id; $postcounter += $batchsize)
// Get the word_id's out of the DB (to see if they are already there) // Get the word_id's out of the DB (to see if they are already there)
$sql = "SELECT word_id, word_text $sql = "SELECT word_id, word_text
FROM phpbb_search_wordlist FROM ".SEARCH_WORD_TABLE."
WHERE word_text IN ($sql_select) WHERE word_text IN ($sql_select)
GROUP BY word_text"; GROUP BY word_text";
$result = $db->sql_query($sql); $result = $db->sql_query($sql);