fix error caused by no title saved.
This commit is contained in:
parent
9774ddc17b
commit
8491ec8283
|
@ -24,9 +24,9 @@
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<% if b.expired? || (b.category.disable rescue false)%>
|
<% if b.expired? || (b.category.disable rescue false)%>
|
||||||
<%= b.title.html_safe %>
|
<%= b.title.to_s.html_safe %>
|
||||||
<% else %>
|
<% 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 %>
|
<% end %>
|
||||||
|
|
||||||
<% if b.expired? %>
|
<% if b.expired? %>
|
||||||
|
|
Loading…
Reference in New Issue