mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00: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
1 changed files with 1 additions and 1 deletions
|
@ -195,7 +195,7 @@ function add_search_words($post_id, $post_text, $post_title = "")
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
$sql = "INSERT INTO " . SEARCH_WORD_TABLE . " (word_text)
|
$sql = "INSERT INTO " . SEARCH_WORD_TABLE . " (word_text)
|
||||||
VALUES ('" . $word[$i] . "', 0)";
|
VALUES ('" . $word[$i] . "')";
|
||||||
if( !($result = $db->sql_query($sql)) )
|
if( !($result = $db->sql_query($sql)) )
|
||||||
{
|
{
|
||||||
message_die(GENERAL_ERROR, "Couldn't insert new word", "", __LINE__, __FILE__, $sql);
|
message_die(GENERAL_ERROR, "Couldn't insert new word", "", __LINE__, __FILE__, $sql);
|
||||||
|
|
Loading…
Add table
Reference in a new issue