diff options
author | Mark Longair <mhl@pobox.com> | 2013-06-17 15:47:33 +0100 |
---|---|---|
committer | Mark Longair <mhl@pobox.com> | 2013-06-17 15:47:33 +0100 |
commit | 717353e2139d40b4c7646b890b571004f962d4a7 (patch) | |
tree | 8f1ed17864444262df2bb4b04128b647ebbf73da /lib | |
parent | d6dc9d2036654ab81cc32dc7a4e260f6f5d8c54c (diff) | |
parent | 64ae21945a69441ad6a58a1069417e7a56cc15f6 (diff) |
Merge tag '0.11.0.12' into wdtk
0.11.0.12
Diffstat (limited to 'lib')
-rw-r--r-- | lib/mail_handler/backends/mail_backend.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mail_handler/backends/mail_backend.rb b/lib/mail_handler/backends/mail_backend.rb index 561946980..28c486e1b 100644 --- a/lib/mail_handler/backends/mail_backend.rb +++ b/lib/mail_handler/backends/mail_backend.rb @@ -112,7 +112,7 @@ module MailHandler if first_from.is_a?(ActiveSupport::Multibyte::Chars) return nil else - return first_from.display_name ? eval(%Q{"#{first_from.display_name}"}) : nil + return (first_from.display_name || nil) end else return nil |