Fixed incorrect post count on posting page.

This commit is contained in:
flash 2019-01-09 18:30:09 +01:00
parent 44171207d2
commit 44dc4ae2ce

View file

@ -230,6 +230,7 @@ $getDisplayInfo = db_prepare('
SELECT COUNT(`post_id`)
FROM `msz_forum_posts`
WHERE `user_id` = u.`user_id`
AND `post_deleted` IS NULL
) AS `user_forum_posts`
FROM `msz_users` as u
WHERE `user_id` = :user_id