Fixed bug in messaging system.

This commit is contained in:
Benjamin Meichsner 2009-09-05 21:08:32 +02:00
parent 47d3232e4e
commit 8276ff57f8

View file

@ -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