fix error caused by no title saved.

This commit is contained in:
bohung committed 2020-04-23 16:52:53 +08:00
1 parent 9774ddc17b
commit 8491ec8283
1 file changed
+2 -2
@@ -24,9 +24,9 @@
</td>
<td>
<% if b.expired? || (b.category.disable rescue false)%>
<%= b.title.html_safe %>
<%= b.title.to_s.html_safe %>
<% else %>
<a href="<%= page_for_bulletin(b) %>" target="_blank"><%= b.title.html_safe %></a>
<a href="<%= page_for_bulletin(b) %>" target="_blank"><%= b.title.to_s.html_safe %></a>
<% end %>
<% if b.expired? %>