From 5be808dc97851600171a50d31e876f086f4ae255 Mon Sep 17 00:00:00 2001 From: "Paul S. Owen" Date: Sat, 23 Aug 2003 01:16:13 +0000 Subject: [PATCH] whoopsie ... IGNORE only valid for MySQL git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@4423 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/includes/functions_search.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpBB/includes/functions_search.php b/phpBB/includes/functions_search.php index 3937b6617c..403f09394e 100644 --- a/phpBB/includes/functions_search.php +++ b/phpBB/includes/functions_search.php @@ -240,7 +240,7 @@ function add_search_words($mode, $post_id, $post_text, $post_title = '') if ( $match_sql != '' ) { - $sql = "INSERT IGNORE INTO " . SEARCH_MATCH_TABLE . " (post_id, word_id, title_match) + $sql = "INSERT INTO " . SEARCH_MATCH_TABLE . " (post_id, word_id, title_match) SELECT $post_id, word_id, $title_match FROM " . SEARCH_WORD_TABLE . " WHERE word_text IN ($match_sql)";