mirror of
https://github.com/discourse/discourse.git
synced 2025-09-06 10:50:21 +08:00
FIX: don't show post withdrawn by author in summary emails
This commit is contained in:
parent
4960365689
commit
a1363feec8
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue