Fixed incorrect post count on posting page.
This commit is contained in:
parent
44171207d2
commit
44dc4ae2ce
1 changed files with 1 additions and 0 deletions
|
@ -230,6 +230,7 @@ $getDisplayInfo = db_prepare('
|
||||||
SELECT COUNT(`post_id`)
|
SELECT COUNT(`post_id`)
|
||||||
FROM `msz_forum_posts`
|
FROM `msz_forum_posts`
|
||||||
WHERE `user_id` = u.`user_id`
|
WHERE `user_id` = u.`user_id`
|
||||||
|
AND `post_deleted` IS NULL
|
||||||
) AS `user_forum_posts`
|
) AS `user_forum_posts`
|
||||||
FROM `msz_users` as u
|
FROM `msz_users` as u
|
||||||
WHERE `user_id` = :user_id
|
WHERE `user_id` = :user_id
|
||||||
|
|
Loading…
Reference in a new issue