mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-02 23:07:39 +02:00
Fix bug #518159
git-svn-id: file:///svn/phpbb/trunk@2164 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -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);
|
||||||
|
Reference in New Issue
Block a user