Permalink
Browse files

fixing bug related to @subscriptiontrack_text

  • Loading branch information...
1 parent 1c49828 commit 6990619fc1c999a6cd1168cb980de555906018d1 @stephenb committed Apr 5, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/sendgrid.rb
View
@@ -184,8 +184,8 @@ def filters_hash_from_options(enabled_opts, disabled_opts)
case opt.to_sym
when :subscriptiontrack
if @subscriptiontrack_text
- if @subscription_text[:replace]
- filters[:subscriptiontrack]['settings']['replace'] = @subscription_text[:replace]
+ if @subscriptiontrack_text[:replace]
+ filters[:subscriptiontrack]['settings']['replace'] = @subscriptiontrack_text[:replace]
else
filters[:subscriptiontrack]['settings']['text/html'] = @subscriptiontrack_text[:html]
filters[:subscriptiontrack]['settings']['text/plain'] = @subscriptiontrack_text[:plain]

0 comments on commit 6990619

Please sign in to comment.