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:
Paul S. Owen 2001-11-15 21:36:31 +00:00
parent 6cbe3f48d8
commit 68eb5bc3b3

View file

@ -167,6 +167,8 @@ function remove_common($percent, $word_id_list = array())
} }
} }
if( $word_id_sql != "" )
{
$sql = "DELETE FROM " . SEARCH_WORD_TABLE . " $sql = "DELETE FROM " . SEARCH_WORD_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);
@ -182,7 +184,7 @@ function remove_common($percent, $word_id_list = array())
{ {
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);
} }
}
} }
} }