Fixed sql. Remove limit from update.

This commit is contained in:
Vasily Komrakov 2017-06-13 22:37:28 +03:00
commit 3cf76c97f9
No known key found for this signature in database
GPG key ID: 558236680C20A69A
20 changed files with 31 additions and 31 deletions

View file

@ -464,5 +464,5 @@ function get_parsed_post($postrow, $mode = 'full', $return_chars = 600)
function update_post_html($postrow)
{
DB()->query("DELETE FROM " . BB_POSTS_HTML . " WHERE post_id = " . (int)$postrow['post_id'] . " LIMIT 1");
DB()->query("DELETE FROM " . BB_POSTS_HTML . " WHERE post_id = " . (int)$postrow['post_id']);
}