git-svn-id: https://torrentpier2.googlecode.com/svn/trunk@120 a8ac35ab-4ca4-ca47-4c2d-a49a94f06293
This commit is contained in:
nanosimbiot 2011-07-22 10:40:38 +00:00
commit 758c82f155

View file

@ -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)");
}