aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--phpBB/includes/search.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/search.php b/phpBB/includes/search.php
index 7ecd9b327a..80002f7def 100644
--- a/phpBB/includes/search.php
+++ b/phpBB/includes/search.php
@@ -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);