From c83feef79eeeb6aac552703d41ad424a0c49542a Mon Sep 17 00:00:00 2001 From: flashwave Date: Wed, 12 Apr 2023 13:18:11 +0000 Subject: [PATCH] Fixed Staff Discussion posts being broadcast in the Lounge. --- public/recent-forum-posts.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/recent-forum-posts.php b/public/recent-forum-posts.php index c75ed4d..944062a 100644 --- a/public/recent-forum-posts.php +++ b/public/recent-forum-posts.php @@ -28,7 +28,7 @@ try { WHERE `post_id` > :post_id AND `post_deleted` IS NULL 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` LIMIT 6 ');