mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
Got a bad piece of tape that time, fell on the carpet, euuggh, this one should work
git-svn-id: file:///svn/phpbb/trunk@1325 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
68eb5bc3b3
commit
9dc6e8a5fa
1 changed files with 8 additions and 5 deletions
|
@ -303,6 +303,8 @@ function remove_old_words($post_id)
|
|||
}
|
||||
}
|
||||
|
||||
if( $word_id_sql )
|
||||
{
|
||||
$sql = "DELETE FROM " . SEARCH_WORD_TABLE . "
|
||||
WHERE word_id IN ($word_id_sql)";
|
||||
$result = $db->sql_query($sql);
|
||||
|
@ -311,6 +313,7 @@ function remove_old_words($post_id)
|
|||
message_die(GENERAL_ERROR, "Couldn't delete word list entry", "", __LINE__, __FILE__, $sql);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
$sql = "DELETE FROM " . SEARCH_MATCH_TABLE . "
|
||||
WHERE post_id = $post_id";
|
||||
|
|
Loading…
Add table
Reference in a new issue