From c57a79dcc890b7c95922c166d93b9d8c92f75668 Mon Sep 17 00:00:00 2001 From: BoHung Chiu Date: Thu, 21 Sep 2023 08:52:23 +0800 Subject: [PATCH] Fix bug. --- app/models/event_news_feed.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/event_news_feed.rb b/app/models/event_news_feed.rb index 39b7b09..0cc2889 100644 --- a/app/models/event_news_feed.rb +++ b/app/models/event_news_feed.rb @@ -78,7 +78,7 @@ class EventNewsFeed end announcements = anns_before_filter.can_display_and_sorted else - announcements = [] + return end end all_anns = []