mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-03 21:15:42 +02:00
Fix bug #518159
git-svn-id: file:///svn/phpbb/trunk@2164 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
dfd69921b6
commit
614f58d881
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user