Skip to content

A platform for community discussion. Free, open, simple.

regression, if there is not excerpt skip

Sam7aef604f7d88
diff --git a/app/views/list/list.erb b/app/views/list/list.erb
index 14d69654979..99abddc4945 100644
--- a/app/views/list/list.erb
+++ b/app/views/list/list.erb
@@ -53,7 +53,7 @@
<% end %>
<span class='posts' title='<%= t 'posts' %>'>(<%= t.posts_count %>)</span>
- <% if t.pinned_until && t.pinned_until > Time.zone.now && (t.pinned_globally || @list.category) %>
+ <% if t.pinned_until && (t.pinned_until > Time.zone.now) && (t.pinned_globally || @list.category) && t.excerpt %>
<p class='excerpt'>
<%= t.excerpt.html_safe %>
</p>