diff options
Diffstat (limited to 'lib/mauve/alert.rb')
-rw-r--r-- | lib/mauve/alert.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mauve/alert.rb b/lib/mauve/alert.rb index 86b49e3..cf88114 100644 --- a/lib/mauve/alert.rb +++ b/lib/mauve/alert.rb @@ -138,7 +138,7 @@ module Mauve other.sort_tuple <=> self.sort_tuple end - def subject; attribute_get(:subject) || attribute_get(:source) ; end + def subject; attribute_get(:subject) || attribute_get(:source) || "not set" ; end def detail; attribute_get(:detail) || "_No detail set._" ; end def subject=(subject); set_changed_if_different( :subject, subject ); end |