Fixed deleted comments being included in count.

This commit is contained in:
flash 2018-10-12 19:35:38 +02:00
parent 7b33ef088d
commit 9737659317

View file

@ -215,6 +215,7 @@ define('MSZ_COMMENTS_CATEGORY_QUERY', '
LEFT JOIN `msz_roles` as r
ON r.`role_id` = u.`display_role`
WHERE p.`category_id` = :category
AND p.`comment_deleted` IS NULL
%s
ORDER BY p.`comment_pinned` DESC, p.`comment_id` %s
');