diff --git a/vendor/built_in_modules/announcement/app/views/panel/announcement/front_end/bulletins/index.html.erb b/vendor/built_in_modules/announcement/app/views/panel/announcement/front_end/bulletins/index.html.erb
index d63c21eb..fdf4e097 100644
--- a/vendor/built_in_modules/announcement/app/views/panel/announcement/front_end/bulletins/index.html.erb
+++ b/vendor/built_in_modules/announcement/app/views/panel/announcement/front_end/bulletins/index.html.erb
@@ -5,7 +5,6 @@
<%= @page.title rescue nil %>
<% if !@item.frontend_field.blank? %>
-
<% if @frontend_style == '1' %>
@@ -18,8 +17,8 @@
<% @bulletins.each do |post| %>
- <% @item.frontend_field.each do |ff| %>
+ <% @item.frontend_field.each do |ff| %>
<% if ff[1] == 'title' %>
@@ -27,7 +26,7 @@
<% elsif ff[1] == 'date' %>
<%= display_date(post.send(ff[0])) %>
<% elsif ff[1] == 'category' %>
- <%= post.send("#{post.class.to_s.underscore}_#{ff[0]}").title rescue nil %>
+ <%= post.send(ff[0]).title rescue nil %>
<% elsif ff[1] == 'img' %>
<%= image_tag(post.send(wf[0]).url) %>
<% elsif ff[1] == 'text' %>
@@ -50,8 +49,8 @@
<% end %>
|
-
<% end %>
+
<% end %>