aboutsummaryrefslogtreecommitdiff
path: root/lib/mauve/alert.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/mauve/alert.rb')
-rw-r--r--lib/mauve/alert.rb2
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