Fixed Staff Discussion posts being broadcast in the Lounge.

This commit is contained in:
flash 2023-04-12 13:18:11 +00:00
parent 8d59887b5e
commit c83feef79e

View file

@ -28,7 +28,7 @@ try {
WHERE `post_id` > :post_id WHERE `post_id` > :post_id
AND `post_deleted` IS NULL AND `post_deleted` IS NULL
AND `post_created` > NOW() - INTERVAL 7 DAY AND `post_created` > NOW() - INTERVAL 7 DAY
AND p.`forum_id` IN (2, 7, 24, 6, 5, 4, 16, 20, 8, 19, 10, 11, 13, 21, 15, 14, 27, 29, 28, 18, 23) AND p.`forum_id` IN (2, 7, 24, 6, 5, 4, 16, 20, 8, 19, 10, 11, 13, 21, 15, 14, 27, 29, 28)
ORDER BY `post_id` ORDER BY `post_id`
LIMIT 6 LIMIT 6
'); ');