Skip to content

Commit

Permalink
Update functions_post.php
Browse files Browse the repository at this point in the history
  • Loading branch information
belomaxorka committed Oct 28, 2023
1 parent f4cafb1 commit df5ed81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/includes/functions_post.php
Original file line number Diff line number Diff line change
Expand Up @@ -506,7 +506,7 @@ function insert_post ($mode, $topic_id, $forum_id = '', $old_forum_id = '', $new
DB()->query("INSERT INTO ". BB_POSTS_TEXT ." ($post_text_columns) VALUES ($post_text_values)");

// Update user_posts counter for bot
DB()->query("UPDATE " . BB_USERS . " SET user_posts = user_posts + WHERE user_id = $poster_id");
DB()->query("UPDATE " . BB_USERS . " SET user_posts = user_posts + 1 WHERE user_id = $poster_id");
}

function topic_review ($topic_id)
Expand Down

0 comments on commit df5ed81

Please sign in to comment.