1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-06-03 21:15:42 +02:00
git-svn-id: file:///svn/phpbb/trunk@2164 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Paul S. Owen 2002-02-15 21:59:01 +00:00
parent dfd69921b6
commit 614f58d881

View File

@ -195,7 +195,7 @@ function add_search_words($post_id, $post_text, $post_title = "")
break;
default:
$sql = "INSERT INTO " . SEARCH_WORD_TABLE . " (word_text)
VALUES ('" . $word[$i] . "', 0)";
VALUES ('" . $word[$i] . "')";
if( !($result = $db->sql_query($sql)) )
{
message_die(GENERAL_ERROR, "Couldn't insert new word", "", __LINE__, __FILE__, $sql);