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 9d04250..a2033a5 100644
--- a/lib/mauve/alert.rb
+++ b/lib/mauve/alert.rb
@@ -272,7 +272,7 @@ module Mauve
attributes.each do |key, val|
prop = self.class.properties[key]
next unless prop.is_a?(DataMapper::Property::String)
-
+ next unless val.is_a?(String)
#
# Truncate
#