aboutsummaryrefslogtreecommitdiff
path: root/lib/mauve
diff options
context:
space:
mode:
Diffstat (limited to 'lib/mauve')
-rw-r--r--lib/mauve/alert.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/mauve/alert.rb b/lib/mauve/alert.rb
index a9fff94..72568b3 100644
--- a/lib/mauve/alert.rb
+++ b/lib/mauve/alert.rb
@@ -334,8 +334,7 @@ module Mauve
history = nil
if ut.nil?
-
- self.update_type = "cleared" if self.new?
+ self.update_type = "cleared" if self.new? or self.update_type.nil?
else
self.update_type = ut