mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: don't show post withdrawn by author in summary emails
This commit is contained in:
parent
4960365689
commit
a1363feec8
@ -26,7 +26,7 @@
|
|||||||
<%= category_badge(t.category, inline_style: true, absolute_url: true) %>
|
<%= category_badge(t.category, inline_style: true, absolute_url: true) %>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<%- if t.best_post.present? %>
|
<%- if t.best_post.present? && !t.best_post.user_deleted %>
|
||||||
<div class='digest-post'>
|
<div class='digest-post'>
|
||||||
<%= email_excerpt(t.best_post.cooked, @featured_topics.size) %>
|
<%= email_excerpt(t.best_post.cooked, @featured_topics.size) %>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user