Fixed bug in messaging system.
This commit is contained in:
parent
47d3232e4e
commit
8276ff57f8
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue