diff options
author | Mikel Lindsaar <raasdnil@gmail.com> | 2009-11-22 23:20:57 +1100 |
---|---|---|
committer | Mikel Lindsaar <raasdnil@gmail.com> | 2009-11-22 23:20:57 +1100 |
commit | 747d56881a07d4636fbaceb1542579d5e02daddd (patch) | |
tree | a50b5c656cd50e0d7b14281ffdb157ebb60f69d8 /actionmailer/lib/action_mailer/quoting.rb | |
parent | f6f70540bbb77a80df0949d0c9e57239bca10132 (diff) | |
download | rails-747d56881a07d4636fbaceb1542579d5e02daddd.tar.gz rails-747d56881a07d4636fbaceb1542579d5e02daddd.tar.bz2 rails-747d56881a07d4636fbaceb1542579d5e02daddd.zip |
131 tests, 309 assertions, 0 failures, 0 errors
Diffstat (limited to 'actionmailer/lib/action_mailer/quoting.rb')
-rw-r--r-- | actionmailer/lib/action_mailer/quoting.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionmailer/lib/action_mailer/quoting.rb b/actionmailer/lib/action_mailer/quoting.rb index 94fa042002..b30441f9de 100644 --- a/actionmailer/lib/action_mailer/quoting.rb +++ b/actionmailer/lib/action_mailer/quoting.rb @@ -43,7 +43,7 @@ module ActionMailer # "to", "from", "cc", "bcc" and "reply-to" headers. def quote_address_if_necessary(address, charset) if Array === address - address.map { |a| quote_address_if_necessary(a, charset) } + address.map { |a| quote_address_if_necessary(a, charset) }.join(", ") elsif address =~ /^(\S.*)\s+(<.*>)$/ address = $2 phrase = quote_if_necessary($1.gsub(/^['"](.*)['"]$/, '\1'), charset) |