aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorMark Longair <mhl@pobox.com>2013-06-17 15:47:33 +0100
committerMark Longair <mhl@pobox.com>2013-06-17 15:47:33 +0100
commit717353e2139d40b4c7646b890b571004f962d4a7 (patch)
tree8f1ed17864444262df2bb4b04128b647ebbf73da /lib
parentd6dc9d2036654ab81cc32dc7a4e260f6f5d8c54c (diff)
parent64ae21945a69441ad6a58a1069417e7a56cc15f6 (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.rb2
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