aboutsummaryrefslogtreecommitdiff
path: root/lib/mauve
diff options
context:
space:
mode:
Diffstat (limited to 'lib/mauve')
-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 fb4587e..ed2b1dd 100644
--- a/lib/mauve/alert.rb
+++ b/lib/mauve/alert.rb
@@ -360,7 +360,7 @@ module Mauve
h.event += @attributes_before_save.keys.collect{|k| "#{k.to_s}: #{@attributes_before_save[k]} -> #{self.__send__(k)}"}.join(", ")
else
- h.event = self.update_type.upcase
+ h.event = (self.update_type || "UNKNOWN").upcase
end