diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/action_mailbox/mail_ext/addresses.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/action_mailbox/mail_ext/addresses.rb b/lib/action_mailbox/mail_ext/addresses.rb index d7ace82bbf..75e39686ea 100644 --- a/lib/action_mailbox/mail_ext/addresses.rb +++ b/lib/action_mailbox/mail_ext/addresses.rb @@ -21,6 +21,6 @@ class Mail::Message private def convert_to_addresses(recipients) - recipients.collect { |recipient| Mail::Address.new recipient } + Array(recipients).collect { |recipient| Mail::Address.new recipient } end end |