diff options
author | Jamis Buck <jamis@37signals.com> | 2005-09-01 16:00:08 +0000 |
---|---|---|
committer | Jamis Buck <jamis@37signals.com> | 2005-09-01 16:00:08 +0000 |
commit | 8373b55055f421bb48c375f69d85f6dbbe679649 (patch) | |
tree | 169eeb1fe6977620b1fc6d7d32a69b9e25307866 /actionmailer/lib/action_mailer/vendor | |
parent | a32251487174dffe420980fbc9d43bcf4472d2af (diff) | |
download | rails-8373b55055f421bb48c375f69d85f6dbbe679649.tar.gz rails-8373b55055f421bb48c375f69d85f6dbbe679649.tar.bz2 rails-8373b55055f421bb48c375f69d85f6dbbe679649.zip |
* Don't add charset to content-type header for a part that contains subparts (for AOL compatibility) #2013 [John Long]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2091 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionmailer/lib/action_mailer/vendor')
-rwxr-xr-x | actionmailer/lib/action_mailer/vendor/tmail/header.rb | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/actionmailer/lib/action_mailer/vendor/tmail/header.rb b/actionmailer/lib/action_mailer/vendor/tmail/header.rb index 73639b5629..b4ef1809f0 100755 --- a/actionmailer/lib/action_mailer/vendor/tmail/header.rb +++ b/actionmailer/lib/action_mailer/vendor/tmail/header.rb @@ -754,9 +754,11 @@ module TMail strategy.meta @main end @params.each do |k,v| - strategy.meta ';' - strategy.space - strategy.kv_pair k, v + if v + strategy.meta ';' + strategy.space + strategy.kv_pair k, v + end end end |