Quick fix: Fix 500 on /conversations when a author is missing. This is a temporary fix, see #2682
This commit is contained in:
parent
6e02f61395
commit
57697dea28
1 changed files with 2 additions and 1 deletions
|
|
@ -19,6 +19,7 @@
|
||||||
.last_author
|
.last_author
|
||||||
.timestamp
|
.timestamp
|
||||||
= t('ago', :time => time_ago_in_words(conversation.updated_at))
|
= t('ago', :time => time_ago_in_words(conversation.updated_at))
|
||||||
|
- if not authors[conversation.id].nil?
|
||||||
= authors[conversation.id].name
|
= authors[conversation.id].name
|
||||||
|
|
||||||
- if conversation.participants.size > 2
|
- if conversation.participants.size > 2
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue