Merge pull request #4287 from steinwaywhw/patch-1

Fix frozen email string problem in mbox.rb
This commit is contained in:
Sam 2016-06-29 16:32:30 +10:00 committed by GitHub
commit be76a9808a

View File

@ -144,7 +144,7 @@ class ImportScripts::Mbox < ImportScripts::Base
if mail.from.present?
from_email = mail.from.dup
if from_email.kind_of?(Array)
from_email = from_email.first
from_email = from_email.first.dup
end
from_email.gsub!(/ at /, '@')