diff --git a/upload/includes/functions_post.php b/upload/includes/functions_post.php index 3051e165c..a6cfb65d4 100644 --- a/upload/includes/functions_post.php +++ b/upload/includes/functions_post.php @@ -722,7 +722,7 @@ function insert_post ($mode, $topic_id, $forum_id = '', $old_forum_id = '', $new $post_text = DB()->escape($post_text); $post_text_columns = 'post_id, post_subject, post_text'; - $post_text_values = "$post_id, '$post_subject, '$post_text'"; + $post_text_values = "$post_id, '$post_subject', '$post_text'"; DB()->query("INSERT INTO ". BB_POSTS_TEXT ." ($post_text_columns) VALUES ($post_text_values)"); }