aboutsummaryrefslogtreecommitdiff
path: root/lib/mauve/alert.rb
diff options
context:
space:
mode:
authorPatrick J Cherry <patrick@bytemark.co.uk>2011-06-17 17:31:10 +0100
committerPatrick J Cherry <patrick@bytemark.co.uk>2011-06-17 17:31:10 +0100
commit0b83323a3bccff72da4aadd8f38d0305a5fdcca4 (patch)
treefbeaa85359183885261aacff56a65aa006c472dd /lib/mauve/alert.rb
parenta2fc458d4c1bc6027760546653cb153e775576ce (diff)
* Bytemark auth fixed.
* Some hot fixes.
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