diff --git a/script/import_scripts/mbox.rb b/script/import_scripts/mbox.rb index 6c1565ecf9c..cd2ac9d48a1 100755 --- a/script/import_scripts/mbox.rb +++ b/script/import_scripts/mbox.rb @@ -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 /, '@')