1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-12 11:44:08 +02:00

Altered for constant table names

git-svn-id: file:///svn/phpbb/trunk@1297 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Paul S. Owen
2001-11-09 13:26:55 +00:00
parent 16a20599ff
commit 4e0ec70803
3 changed files with 17 additions and 26 deletions

View File

@@ -307,7 +307,7 @@ else if( $query_keywords != "" || $query_author != "" || $search_id )
$match_word = str_replace("*", "%", $match_word_list[$i]);
$sql = "SELECT m.post_id, m.word_count
FROM phpbb_search_wordlist w, phpbb_search_wordmatch m
FROM " . SEARCH_WORD_TABLE . " w, " . SEARCH_MATCH_TABLE . " m
WHERE w.word_text LIKE '$match_word'
AND m.word_id = w.word_id
ORDER BY m.post_id, m.word_count DESC";