mirror of
https://github.com/torrentpier/torrentpier-lts.git
synced 2025-02-28 15:10:54 +03:00
Update functions_post.php
This commit is contained in:
parent
f4cafb1dde
commit
df5ed816bf
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user