diff options
author | Patrick J Cherry <patrick@bytemark.co.uk> | 2011-06-17 17:31:10 +0100 |
---|---|---|
committer | Patrick J Cherry <patrick@bytemark.co.uk> | 2011-06-17 17:31:10 +0100 |
commit | 0b83323a3bccff72da4aadd8f38d0305a5fdcca4 (patch) | |
tree | fbeaa85359183885261aacff56a65aa006c472dd /lib/mauve/alert.rb | |
parent | a2fc458d4c1bc6027760546653cb153e775576ce (diff) |
* Bytemark auth fixed.
* Some hot fixes.
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 |