mirror of
https://github.com/codeninjasllc/discourse.git
synced 2025-04-01 09:39:51 -04: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) %>
|
||||
</div>
|
||||
|
||||
<%- if t.best_post.present? %>
|
||||
<%- if t.best_post.present? && !t.best_post.user_deleted %>
|
||||
<div class='digest-post'>
|
||||
<%= email_excerpt(t.best_post.cooked, @featured_topics.size) %>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Reference in a new issue