From 192f4e27dfc6ec6d99acd1eb86a0ba2ca390e877 Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Thu, 8 Jan 2015 15:55:52 +0100 Subject: [PATCH] Fixed string reference issue. --- app/models/channel/email_build.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/models/channel/email_build.rb b/app/models/channel/email_build.rb index e6c1bbc7e..bf43604e5 100644 --- a/app/models/channel/email_build.rb +++ b/app/models/channel/email_build.rb @@ -48,9 +48,9 @@ module Channel::EmailBuild content_type 'text/html; charset=UTF-8' # complete check - attr[:body] = Channel::EmailBuild.html_complete_check( attr[:body] ) + html_document = Channel::EmailBuild.html_complete_check( attr[:body] ) - body attr[:body] + body html_document end # generate plain part