From 8276ff57f851f11aa56d7fe616708f8965abc170 Mon Sep 17 00:00:00 2001 From: Benjamin Meichsner Date: Sat, 5 Sep 2009 21:08:32 +0200 Subject: [PATCH] Fixed bug in messaging system. --- app/models/message.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/message.rb b/app/models/message.rb index 3cc7167a..72845649 100644 --- a/app/models/message.rb +++ b/app/models/message.rb @@ -65,7 +65,7 @@ class Message < ActiveRecord::Base end def sender_name - system_message? ? 'Foodsoft' : sender.nick + system_message? ? 'Foodsoft' : sender.nick rescue "??" end def recipients