mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-17 15:11:40 +02:00
Sticky tape fell off, that's what happens when you don't buy the real thing...
git-svn-id: file:///svn/phpbb/trunk@1324 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -167,22 +167,24 @@ function remove_common($percent, $word_id_list = array())
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
$sql = "DELETE FROM " . SEARCH_WORD_TABLE . "
|
if( $word_id_sql != "" )
|
||||||
WHERE word_id IN ($word_id_sql)";
|
|
||||||
$result = $db->sql_query($sql);
|
|
||||||
if( !$result )
|
|
||||||
{
|
{
|
||||||
message_die(GENERAL_ERROR, "Couldn't delete word list entry", "", __LINE__, __FILE__, $sql);
|
$sql = "DELETE FROM " . SEARCH_WORD_TABLE . "
|
||||||
}
|
WHERE word_id IN ($word_id_sql)";
|
||||||
|
$result = $db->sql_query($sql);
|
||||||
|
if( !$result )
|
||||||
|
{
|
||||||
|
message_die(GENERAL_ERROR, "Couldn't delete word list entry", "", __LINE__, __FILE__, $sql);
|
||||||
|
}
|
||||||
|
|
||||||
$sql = "DELETE FROM " . SEARCH_MATCH_TABLE . "
|
$sql = "DELETE FROM " . SEARCH_MATCH_TABLE . "
|
||||||
WHERE word_id IN ($word_id_sql)";
|
WHERE word_id IN ($word_id_sql)";
|
||||||
$result = $db->sql_query($sql);
|
$result = $db->sql_query($sql);
|
||||||
if( !$result )
|
if( !$result )
|
||||||
{
|
{
|
||||||
message_die(GENERAL_ERROR, "Couldn't delete word match entry", "", __LINE__, __FILE__, $sql);
|
message_die(GENERAL_ERROR, "Couldn't delete word match entry", "", __LINE__, __FILE__, $sql);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user