Permalink
Browse files

Dup downcased data

  • Loading branch information...
1 parent df417a2 commit f7877ead75c2b82b7c1360bb7b52dd7d8c15ce88 @ndbroadbent ndbroadbent committed May 25, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 app/models/event_rule.rb
View
@@ -87,7 +87,7 @@ def event_matches?(match_data)
match_string.downcase! if case_insensitive_matching
match_string.include?(test_string)
when 'lead_attribute_changed'
- match_string = match_data[1]
+ match_string = match_data[1].dup
match_string.downcase! if case_insensitive_matching
match_string == test_string
end

0 comments on commit f7877ea

Please sign in to comment.