aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
authorPaul S. Owen <psotfx@users.sourceforge.net>2002-02-15 21:59:01 +0000
committerPaul S. Owen <psotfx@users.sourceforge.net>2002-02-15 21:59:01 +0000
commit614f58d8812c8accc6cece8c05208a7e9ed0f0d2 (patch)
treea2f0ed762f00c8588a7e2afe6828948231106741 /phpBB
parentdfd69921b6be223770e31ef52d4944024f125dae (diff)
downloadforums-614f58d8812c8accc6cece8c05208a7e9ed0f0d2.tar
forums-614f58d8812c8accc6cece8c05208a7e9ed0f0d2.tar.gz
forums-614f58d8812c8accc6cece8c05208a7e9ed0f0d2.tar.bz2
forums-614f58d8812c8accc6cece8c05208a7e9ed0f0d2.tar.xz
forums-614f58d8812c8accc6cece8c05208a7e9ed0f0d2.zip
Fix bug #518159
git-svn-id: file:///svn/phpbb/trunk@2164 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB')
-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);