From 57697dea28e3090df07c8cad502e3d2dbf55d730 Mon Sep 17 00:00:00 2001 From: Dennis Schubert Date: Tue, 17 Jan 2012 21:10:45 +0100 Subject: [PATCH] Quick fix: Fix 500 on /conversations when a author is missing. This is a temporary fix, see #2682 --- app/views/conversations/_conversation.haml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/views/conversations/_conversation.haml b/app/views/conversations/_conversation.haml index bd3cf7c95..564243354 100644 --- a/app/views/conversations/_conversation.haml +++ b/app/views/conversations/_conversation.haml @@ -19,7 +19,8 @@ .last_author .timestamp = t('ago', :time => time_ago_in_words(conversation.updated_at)) - = authors[conversation.id].name + - if not authors[conversation.id].nil? + = authors[conversation.id].name - if conversation.participants.size > 2 %span.participant_count