diff options
Diffstat (limited to 'lib/tmail_extensions.rb')
-rw-r--r-- | lib/tmail_extensions.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/tmail_extensions.rb b/lib/tmail_extensions.rb index 4f0651731..0efb9e622 100644 --- a/lib/tmail_extensions.rb +++ b/lib/tmail_extensions.rb @@ -53,13 +53,15 @@ module TMail if h = @header['content-type'] h.main_type = main h.sub_type = sub - h.params.clear # if !h.params.nil? # XXX this if statement is the fix # XXX disabled until works with test + h.params.clear if !h.params.nil? # XXX this if statement is the fix # XXX disabled until works with test else store 'Content-Type', "#{main}/#{sub}" end @header['content-type'].params.replace param if param str end + # Need to make sure this alias calls the Monkeypatch too + alias content_type= set_content_type end |